-
Notifications
You must be signed in to change notification settings - Fork 14
/
ddd.postman_collection.json
41 lines (41 loc) · 1.31 KB
/
ddd.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
{
"info": {
"_postman_id": "6d21917e-ffb7-4d21-a4b8-f84be40a9872",
"name": "Demo - Domain Driven Design",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "14524570",
"_collection_link": "https://cloudy-crater-878009.postman.co/workspace/microservices-course~abfc7e2e-b9e4-43cc-9254-079e3b0023a2/collection/14524570-6d21917e-ffb7-4d21-a4b8-f84be40a9872?action=share&source=collection_link&creator=14524570"
},
"item": [
{
"name": "submitOrder",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"content\": \"Dummy Order\",\r\n \"user\": 1,\r\n \"address\":3,\r\n \"order\": {\r\n \"lineItems\": [\r\n {\r\n \"product\": 1,\r\n \"quantity\": 5\r\n },{\r\n \"product\": 2,\r\n \"quantity\": 3\r\n }\r\n ],\r\n \"payment\": 1200\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "http://localhost:8081/v1/orders/submitOrder",
"protocol": "http",
"host": [
"localhost"
],
"port": "8081",
"path": [
"v1",
"orders",
"submitOrder"
]
}
},
"response": []
}
]
}