-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmockoon_environment.json
122 lines (122 loc) · 4.35 KB
/
mockoon_environment.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"id": "mockoon_export",
"appVersion": "1.4.0",
"checksum": "dded10bb9a0917dc687cee1ec9605ba4",
"subject": "environment",
"data": {
"uuid": "d0ba9ed0-82ba-11e9-a399-1b2bce49c108",
"name": "Example",
"endpointPrefix": "",
"latency": 0,
"port": 3000,
"routes": [
{
"uuid": "717a0d60-8374-11e9-a399-1b2bce49c108",
"documentation": "",
"method": "get",
"endpoint": "get_200_OK_SIMPLE_BODY_MESSAGE",
"body": "{Operation Successful!}",
"latency": 0,
"statusCode": "200",
"headers": [
{
"key": "myHeader",
"value": "kamal"
},
{
"key": "secondHeader",
"value": "second"
},
{
"key": "thirdHeader",
"value": "third"
}
],
"filePath": "",
"sendFileAsBody": false
},
{
"uuid": "e7f9f1b0-838f-11e9-a399-1b2bce49c108",
"documentation": "",
"method": "get",
"endpoint": "get_200_OK_SingleNode_Response",
"body": "{\n\"fname\":\"kamal\",\n\"lname\":\"girdher\",\n\"website1\":\"https://extremeExcel.com\",\n\"website2\":\"https://megettingerror.blogspot.com\"\n}",
"latency": 0,
"statusCode": "200",
"headers": [
{
"key": "Content-Type",
"value": "application/json "
}
],
"filePath": "",
"sendFileAsBody": false
},
{
"uuid": "b9e5a790-8387-11e9-a399-1b2bce49c108",
"documentation": "",
"method": "get",
"endpoint": "get_200_OK_Json_Response",
"body": " {\r\n \"data\" : {\r\n \"user1\" : {\r\n \"userId\" : \"1001\",\r\n \"Name\" : \"Kamal\"\r\n },\r\n \"user2\" : {\r\n \"userId\" : \"1002\",\r\n \"Name\" : \"Karan\"\r\n },\r\n }\r\n }",
"latency": 0,
"statusCode": "200",
"headers": [
{
"key": "",
"value": ""
}
],
"filePath": "",
"sendFileAsBody": false
},
{
"uuid": "ae81c980-83a3-11e9-a399-1b2bce49c108",
"documentation": "",
"method": "get",
"endpoint": "get_200_OK_SimpleXML_Response",
"body": "<root>\n<fname>kamal</fname>\n<lname>girdher</lname>\n</root>",
"latency": 0,
"statusCode": "200",
"headers": [
{
"key": "Content-Type",
"value": "application/xml"
}
],
"filePath": "",
"sendFileAsBody": false
},
{
"uuid": "755c1b80-8743-11e9-94aa-b1fd2f8248eb",
"documentation": "",
"method": "post",
"endpoint": "post_200_With_Header",
"body": "{\n\"fname\":\"kamal\",\n\"lname\":\"girdher\",\n\"website1\":\"https://extremeExcel.com\",\n\"website2\":\"https://megettingerror.blogspot.com\"\n}",
"latency": 0,
"statusCode": "200",
"headers": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "user",
"value": "kamal"
}
],
"filePath": "",
"sendFileAsBody": false
}
],
"proxyMode": false,
"proxyHost": "",
"https": false,
"cors": true,
"headers": [
{
"key": "",
"value": ""
}
]
}
}