-
Notifications
You must be signed in to change notification settings - Fork 0
/
welbexTest.postman_collection.json
98 lines (98 loc) · 1.98 KB
/
welbexTest.postman_collection.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
{
"info": {
"_postman_id": "cb5fa031-fae7-4be7-8b34-c99e29e8a7c7",
"name": "welbexTest",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "24126867"
},
"item": [
{
"name": "post",
"item": [
{
"name": "post",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/api/post/filter?name=welbex&distance=5&count=10&page=1&count_type=2&distance_type=2",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"post",
"filter"
],
"query": [
{
"key": "name",
"value": "welbex",
"description": "char"
},
{
"key": "distance",
"value": "5",
"description": "number"
},
{
"key": "count",
"value": "10",
"description": "number"
},
{
"key": "page",
"value": "1",
"description": "number"
},
{
"key": "count_type",
"value": "2",
"description": "0 = less, 1 = equal, 2 = more "
},
{
"key": "distance_type",
"value": "2",
"description": "0 = less, 1 = equal, 2 = more"
}
]
}
},
"response": []
},
{
"name": "createPost",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"welbex\",\r\n \"distance\": 45,\r\n \"count\": 20\r\n}"
},
"url": {
"raw": "http://localhost:8080/api/post",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"api",
"post"
]
}
},
"response": []
}
]
}
]
}