-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfood-ordering-system.postman_collection.json
95 lines (95 loc) · 2.27 KB
/
food-ordering-system.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
{
"info": {
"_postman_id": "50153f3b-8647-4448-879e-78be7322c93c",
"name": "food-ordering-system",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "order-service",
"item": [
{
"name": "create-order",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"customerId\": \"f003e21b-9dc1-41ef-89bb-0895a6043c2a\",\n \"restaurantId\": \"03f3a46a-4738-4081-85f5-b060892663d4\",\n \"address\": {\n \"street\": \"street_1\",\n \"postalCode\": \"1000AB\",\n \"city\": \"Amsterdam\"\n },\n \"price\": 25.00,\n \"items\": [\n {\n \"productId\": \"0bdaba0e-433f-4e5b-81e3-7665c5bfc6dd\",\n \"quantity\": 1,\n \"price\": 25.00,\n \"subTotal\": 25.00\n }\n ]\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8181/orders",
"protocol": "http",
"host": [
"localhost"
],
"port": "8181",
"path": [
"orders"
]
}
},
"response": []
},
{
"name": "get-order-status",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8181/orders/b438ae46-b7bf-42ef-8702-84f31636ce47",
"protocol": "http",
"host": [
"localhost"
],
"port": "8181",
"path": [
"orders",
"b438ae46-b7bf-42ef-8702-84f31636ce47"
]
}
},
"response": []
}
]
},
{
"name": "customer-service",
"item": [
{
"name": "create-customer",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\n \"customerId\":\"32800f12-47db-4bcf-b9ef-e726a7b111d0\",\n \"username\":\"user2\",\n \"firstName\":\"Second\",\n \"lastName\":\"User\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8184/customers",
"protocol": "http",
"host": [
"localhost"
],
"port": "8184",
"path": [
"customers"
]
}
},
"response": []
}
]
}
]
}