-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMicro Service.postman_collection.json
97 lines (97 loc) · 1.75 KB
/
Micro Service.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
{
"info": {
"_postman_id": "a0765133-91bc-44d7-8bf5-e200d0f7b1e2",
"name": "Micro Service",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json",
"_exporter_id": "12421958"
},
"item": [
{
"name": "post",
"item": [
{
"name": "create",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"textdata\":\"Hello this my first post.\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost:8081/post"
},
"response": []
},
{
"name": "get",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8081/post"
},
"response": []
},
{
"name": "getbyid",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8081/post/1"
},
"response": []
}
]
},
{
"name": "Comment",
"item": [
{
"name": "create",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"comment\":\"Hello, first comment.\",\n \"postId\":1\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": "http://localhost:8082/comment"
},
"response": []
},
{
"name": "get",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8082/comment"
},
"response": []
}
]
},
{
"name": "API Gateway",
"item": [
{
"name": "get",
"request": {
"method": "GET",
"header": [],
"url": "http://localhost:8083/post"
},
"response": []
}
]
}
]
}