This repository was archived by the owner on Nov 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathpostman-05.json
More file actions
67 lines (67 loc) · 1.36 KB
/
postman-05.json
File metadata and controls
67 lines (67 loc) · 1.36 KB
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
{
"info": {
"_postman_id": "f9905494-1978-471e-977e-f428d197014e",
"name": "codejam-cap-nodejs-ex05",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Order 5 copies of Wuthering Heights (no order ID specified)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"book_ID\": 201,\n \"quantity\": 5\n}"
},
"url": {
"raw": "http://localhost:4004/catalog/Orders",
"protocol": "http",
"host": [
"localhost"
],
"port": "4004",
"path": [
"catalog",
"Orders"
]
}
},
"response": []
},
{
"name": "Order 9 copies of Life, The Universe And Everything (specifying an order ID)",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"ID\": \"527ef85a-aef2-464b-89f6-6a3ce64f2e14\",\n \"book_ID\": 427,\n \"quantity\": 9\n}"
},
"url": {
"raw": "http://localhost:4004/catalog/Orders",
"protocol": "http",
"host": [
"localhost"
],
"port": "4004",
"path": [
"catalog",
"Orders"
]
}
},
"response": []
}
]
}