-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexample.json
50 lines (48 loc) · 952 Bytes
/
example.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
47
48
49
50
{
"globalHeaders": { "Content-Size": 100 },
"endpoint": [
{
"endpoint": "/api/test3",
"method": "get",
"localHeaders": {
"Content-Type": "application/json"
},
"status_code": 200,
"response": { "name": "ABC", "age": 19 }
}
],
"groups": [
{
"name": "api",
"endpoints": [
{
"method": "get",
"endpoint": "test1",
"localHeaders": { "Content-Type": "text/plain" },
"status_code": 200,
"response": "asdasd"
},
{
"method": "post",
"endpoint": "test",
"status_code": 500
}
]
},
{
"name": "api1",
"endpoints": [
{
"method": "get",
"endpoint": "test1",
"status_code": 200
},
{
"method": "get",
"endpoint": "test",
"status_code": 500
}
]
}
]
}