|
7 | 7 | }, |
8 | 8 | "item": [ |
9 | 9 | { |
10 | | - "name": "Get all cities", |
| 10 | + "name": "Get all books", |
11 | 11 | "request": { |
12 | 12 | "method": "GET", |
13 | 13 | "header": [], |
14 | 14 | "url": { |
15 | | - "raw": "{{base_address}}/api/cities/", |
| 15 | + "raw": "{{base_address}}/api/books/", |
16 | 16 | "host": [ |
17 | 17 | "{{base_address}}" |
18 | 18 | ], |
19 | 19 | "path": [ |
20 | 20 | "api", |
21 | | - "cities", |
| 21 | + "books", |
22 | 22 | "" |
23 | 23 | ] |
24 | 24 | } |
25 | 25 | }, |
26 | 26 | "response": [] |
27 | 27 | }, |
28 | 28 | { |
29 | | - "name": "Get a city", |
| 29 | + "name": "Get a book", |
30 | 30 | "request": { |
31 | 31 | "method": "GET", |
32 | 32 | "header": [], |
33 | 33 | "url": { |
34 | | - "raw": "{{base_address}}/api/cities/2/", |
| 34 | + "raw": "{{base_address}}/api/books/1/", |
35 | 35 | "host": [ |
36 | 36 | "{{base_address}}" |
37 | 37 | ], |
38 | 38 | "path": [ |
39 | 39 | "api", |
40 | | - "cities", |
41 | | - "2", |
| 40 | + "books", |
| 41 | + "1", |
42 | 42 | "" |
43 | 43 | ] |
44 | 44 | } |
45 | 45 | }, |
46 | 46 | "response": [] |
47 | 47 | }, |
48 | 48 | { |
49 | | - "name": "Create a city", |
| 49 | + "name": "Create a book", |
50 | 50 | "request": { |
51 | 51 | "method": "POST", |
52 | 52 | "header": [ |
53 | 53 | { |
54 | 54 | "key": "Authorization", |
55 | | - "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJpbml0X2RhdGUiOjE2NjMzNzg4MDJ9.B7CDGwxSZZzfYSniaAHMGzVjC6-DGdeFqt1EoWiO6zw", |
| 55 | + "value": "YOUR_TOKEN_HERE", |
56 | 56 | "type": "text" |
57 | 57 | } |
58 | 58 | ], |
59 | 59 | "body": { |
60 | 60 | "mode": "formdata", |
61 | 61 | "formdata": [ |
62 | 62 | { |
63 | | - "key": "name", |
64 | | - "value": "Paris", |
| 63 | + "key": "title", |
| 64 | + "value": "Harry Potter", |
65 | 65 | "type": "text" |
66 | 66 | } |
67 | 67 | ] |
68 | 68 | }, |
69 | 69 | "url": { |
70 | | - "raw": "{{base_address}}/api/cities/", |
| 70 | + "raw": "{{base_address}}/api/books/", |
71 | 71 | "host": [ |
72 | 72 | "{{base_address}}" |
73 | 73 | ], |
74 | 74 | "path": [ |
75 | 75 | "api", |
76 | | - "cities", |
| 76 | + "books", |
77 | 77 | "" |
78 | 78 | ] |
79 | 79 | } |
80 | 80 | }, |
81 | 81 | "response": [] |
82 | 82 | }, |
83 | 83 | { |
84 | | - "name": "Update a city", |
| 84 | + "name": "Update a book", |
85 | 85 | "request": { |
86 | 86 | "method": "PUT", |
87 | 87 | "header": [ |
88 | 88 | { |
89 | 89 | "key": "Authorization", |
90 | | - "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJpbml0X2RhdGUiOjE2NjMzNzg4MDJ9.B7CDGwxSZZzfYSniaAHMGzVjC6-DGdeFqt1EoWiO6zw", |
| 90 | + "value": "YOUR_TOKEN_HERE", |
91 | 91 | "type": "text" |
92 | 92 | } |
93 | 93 | ], |
94 | 94 | "body": { |
95 | 95 | "mode": "formdata", |
96 | 96 | "formdata": [ |
97 | 97 | { |
98 | | - "key": "name", |
99 | | - "value": "London", |
| 98 | + "key": "title", |
| 99 | + "value": "Harry Potter UPD", |
100 | 100 | "type": "text" |
101 | 101 | } |
102 | 102 | ] |
103 | 103 | }, |
104 | 104 | "url": { |
105 | | - "raw": "{{base_address}}/api/cities/2/", |
| 105 | + "raw": "{{base_address}}/api/books/1/", |
106 | 106 | "host": [ |
107 | 107 | "{{base_address}}" |
108 | 108 | ], |
109 | 109 | "path": [ |
110 | 110 | "api", |
111 | | - "cities", |
112 | | - "2", |
| 111 | + "books", |
| 112 | + "1", |
113 | 113 | "" |
114 | 114 | ] |
115 | 115 | } |
116 | 116 | }, |
117 | 117 | "response": [] |
118 | 118 | }, |
119 | 119 | { |
120 | | - "name": "Delete a city", |
| 120 | + "name": "Delete a book", |
121 | 121 | "request": { |
122 | 122 | "method": "DELETE", |
123 | 123 | "header": [ |
124 | 124 | { |
125 | 125 | "key": "Authorization", |
126 | | - "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxLCJpbml0X2RhdGUiOjE2NjMzNzg4MDJ9.B7CDGwxSZZzfYSniaAHMGzVjC6-DGdeFqt1EoWiO6zw", |
| 126 | + "value": "YOUR_TOKEN_HERE", |
127 | 127 | "type": "text" |
128 | 128 | } |
129 | 129 | ], |
|
132 | 132 | "formdata": [] |
133 | 133 | }, |
134 | 134 | "url": { |
135 | | - "raw": "{{base_address}}/api/cities/2/", |
| 135 | + "raw": "{{base_address}}/api/books/1/", |
136 | 136 | "host": [ |
137 | 137 | "{{base_address}}" |
138 | 138 | ], |
139 | 139 | "path": [ |
140 | 140 | "api", |
141 | | - "cities", |
142 | | - "2", |
| 141 | + "books", |
| 142 | + "1", |
143 | 143 | "" |
144 | 144 | ] |
145 | 145 | } |
|
156 | 156 | "formdata": [ |
157 | 157 | { |
158 | 158 | "key": "username", |
159 | | - "value": "macho", |
| 159 | + "value": "test", |
160 | 160 | "type": "text" |
161 | 161 | }, |
162 | 162 | { |
163 | 163 | "key": "password", |
164 | | - "value": "M8K3Dkt4fhnHEa5", |
| 164 | + "value": "pass", |
165 | 165 | "type": "text" |
166 | 166 | } |
167 | 167 | ] |
|
0 commit comments