-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexampleConfig.json
46 lines (46 loc) · 980 Bytes
/
exampleConfig.json
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
[
{
"name": "post-server",
"method": "POST",
"port": 3000,
"path": "/",
"input": {
"method": "text"
},
"code": 200,
"output": "text",
"errorCode": 500,
"errorMessage": "Internal Server Error"
},
{
"name": "get-server-1",
"method": "GET",
"port": 3001,
"path": "/test",
"input": null,
"code": 200,
"output": "text"
},
{
"name": "get-server-2",
"method": ["GET"],
"port": 3002,
"path": "/test",
"input": {},
"code": 201,
"output": "text"
},
{
"name": "patch-server-3",
"method": ["PATCH", "PUT"],
"port": 3003,
"path": "/test",
"input": {
"method": "json"
},
"code": 201,
"output": "Updated",
"errorCode": 500,
"errorMessage": "Internal Server Error"
}
]