-
Notifications
You must be signed in to change notification settings - Fork 5
/
Microservice_App.postman_collection
97 lines (97 loc) · 1.89 KB
/
Microservice_App.postman_collection
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": "03e8f097-4227-4d8f-a8c9-e9011a841a08",
"name": "Microservice",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Product-Service",
"item": [
{
"name": "Hello Endpoint :)",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "Create Product",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"11product\",\r\n \"price\": 2750.50,\r\n \"inStock\": true,\r\n \"stockCount\": 100\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{host}}/api/products",
"host": [
"{{host}}"
],
"path": [
"api",
"products"
]
}
},
"response": []
},
{
"name": "Get Products",
"request": {
"method": "GET",
"header": []
},
"response": []
},
{
"name": "Get Product By Id",
"request": {
"method": "GET",
"header": []
},
"response": []
}
]
},
{
"name": "Order-Service",
"item": [
{
"name": "Create Order",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"orderItemDtoList\":[\r\n {\r\n \"ref\": \"ceb98af0-1bfb-4198-ab46-3ff6a7158898\",\r\n \"price\": 5500,\r\n \"quantity\": 2\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{docker-host}}/api/orders",
"host": [
"{{docker-host}}"
],
"path": [
"api",
"orders"
]
}
},
"response": []
}
]
}
]
}