-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtests.hurl
63 lines (59 loc) · 1.03 KB
/
tests.hurl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
POST {{host}}/v3/affiliation/rnsr?indent=true
content-type: application/json
[
{
"id": 1,
"value": "UAR 76, Inist-CNRS, 2 rue Jean Zay 54500 Vandoeuvre-lès-Nancy"
},
{
"id": 2,
"value": "Institut Charles Gerhardt, Université de MontpellierInstitut Charles Gerhardt, Université de Montpellier ; UMR 7272 - CNRS, 06100 Nice"
}
]
HTTP 200
[{
"id": 1,
"value": {
"rnsr": [
"198822446E"
]
}
},
{
"id": 2,
"value": {
"rnsr": [
"200711918D",
"201220250N"
]
}
}]
POST {{host}}/v2/affiliation/rnsr?indent=true
content-type: application/json
[
{
"id": 1,
"value": "UAR 76, Inist-CNRS, 2 rue Jean Zay 54500 Vandoeuvre-lès-Nancy"
},
{
"id": 2,
"value": "Institut Charles Gerhardt, Université de Montpellier"
},
{
"id": 3,
"value": "UMR 7272 - CNRS, 06100 Nice"
}
]
HTTP 200
[{
"id": 1,
"value": "198822446E"
},
{
"id": 2,
"value": "200711918D"
},
{
"id": 3,
"value": "201220250N"
}]