add postman collections file
This commit is contained in:
40
ddd.postman_collection.json
Normal file
40
ddd.postman_collection.json
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"info": {
|
||||
"_postman_id": "6d21917e-ffb7-4d21-a4b8-f84be40a9872",
|
||||
"name": "ddd",
|
||||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
||||
"_exporter_id": "14524570"
|
||||
},
|
||||
"item": [
|
||||
{
|
||||
"name": "submitOrder",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"content\": \"Dummy Order\",\r\n \"user\": 1,\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\": 1500.5\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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user