-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfile-example.txt
39 lines (38 loc) · 951 Bytes
/
file-example.txt
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
{
"server" : {
"ports" : [
{"isSecure": true, "portNumber":6000},
{"isSecure": false, "portNumber":6001}
]
},
"interactions": [
{
"description": "A GET request to retrieve a thing",
"request": {
"method": "get",
"path": "/things/1234"
},
"response": {
"status": 200,
"headers": [],
"body": {
"Hello" : "World"
}
}
},
{
"description": "A GET request to retrieve a thing",
"request": {
"method": "get",
"path": "/otherThing"
},
"response": {
"status": 200,
"headers": [],
"body": {
"Hello" : "World2"
}
}
}
]
}