|
1 | 1 | { |
2 | 2 | "info": { |
3 | | - "_postman_id": "3bed6990-dd80-4009-9743-880bd8a4d806", |
| 3 | + "_postman_id": "949dc025-9619-4ebb-b9c6-c004f2e0fdde", |
4 | 4 | "name": "Pastry Graph API", |
5 | 5 | "description": "version=1.0 - A Graph API for querying pastries", |
6 | 6 | "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", |
|
35 | 35 | "name": "Millefeuille", |
36 | 36 | "originalRequest": { |
37 | 37 | "method": "POST", |
38 | | - "header": [], |
| 38 | + "header": [ |
| 39 | + { |
| 40 | + "key": "Content-Type", |
| 41 | + "value": "application/json", |
| 42 | + "type": "text" |
| 43 | + } |
| 44 | + ], |
39 | 45 | "body": { |
40 | 46 | "mode": "graphql", |
41 | 47 | "graphql": { |
|
69 | 75 | "name": "Eclair Chocolat", |
70 | 76 | "originalRequest": { |
71 | 77 | "method": "POST", |
72 | | - "header": [], |
| 78 | + "header": [ |
| 79 | + { |
| 80 | + "key": "Content-Type", |
| 81 | + "value": "application/json", |
| 82 | + "type": "text" |
| 83 | + } |
| 84 | + ], |
73 | 85 | "body": { |
74 | 86 | "mode": "graphql", |
75 | 87 | "graphql": { |
|
126 | 138 | "name": "pastries_m", |
127 | 139 | "originalRequest": { |
128 | 140 | "method": "POST", |
129 | | - "header": [], |
| 141 | + "header": [ |
| 142 | + { |
| 143 | + "key": "Content-Type", |
| 144 | + "value": "application/json", |
| 145 | + "type": "text" |
| 146 | + } |
| 147 | + ], |
130 | 148 | "body": { |
131 | 149 | "mode": "graphql", |
132 | 150 | "graphql": { |
|
154 | 172 | } |
155 | 173 | ], |
156 | 174 | "cookie": [], |
157 | | - "body": "{\n \"data\": {\n \"pastries\": {\n \"pastries\": [\n {\n \"name\": \"Eclair Cafe\",\n \"description\": \"Delicieux Eclair au Cafe pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.5,\n \"status\": \"available\",\n \"rating\": 4.2,\n \"reviews\": 405\n },\n {\n \"name\": \"Eclair Chocolat\",\n \"description\": \"Delicieux Eclair au Chocolat pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.4,\n \"status\": \"unknown\",\n \"rating\": 4.4,\n \"reviews\": 302\n },\n {\n \"name\": \"Divorces\",\n \"description\": \"Delicieux Divorces pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.8,\n \"status\": \"available\",\n \"rating\": 3.2,\n \"reviews\": 36\n }\n ],\n \"count\": 3\n }\n }\n}" |
| 175 | + "body": "{\n \"data\": {\n \"pastries\": {\n \"pastries\": [\n {\n \"name\": \"Eclair Cafe\",\n \"description\": \"Delicieux Eclair au Cafe pas calorique du tout {{guid()}}\",\n \"size\": \"{{request.body/variables/size}}\",\n \"price\": 2.5,\n \"status\": \"available\",\n \"rating\": 4.2,\n \"reviews\": 405\n },\n {\n \"name\": \"Eclair Chocolat\",\n \"description\": \"Delicieux Eclair au Chocolat pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.4,\n \"status\": \"unknown\",\n \"rating\": 4.4,\n \"reviews\": 302\n },\n {\n \"name\": \"Divorces\",\n \"description\": \"Delicieux Divorces pas calorique du tout\",\n \"size\": \"M\",\n \"price\": 2.8,\n \"status\": \"available\",\n \"rating\": 3.2,\n \"reviews\": 36\n }\n ],\n \"count\": 3\n }\n }\n}" |
158 | 176 | }, |
159 | 177 | { |
160 | 178 | "name": "pastries_s", |
161 | 179 | "originalRequest": { |
162 | 180 | "method": "POST", |
163 | | - "header": [], |
| 181 | + "header": [ |
| 182 | + { |
| 183 | + "key": "Content-Type", |
| 184 | + "value": "application/json", |
| 185 | + "type": "text" |
| 186 | + } |
| 187 | + ], |
164 | 188 | "body": { |
165 | 189 | "mode": "graphql", |
166 | 190 | "graphql": { |
|
194 | 218 | "name": "pastries_l", |
195 | 219 | "originalRequest": { |
196 | 220 | "method": "POST", |
197 | | - "header": [], |
| 221 | + "header": [ |
| 222 | + { |
| 223 | + "key": "Content-Type", |
| 224 | + "value": "application/json", |
| 225 | + "type": "text" |
| 226 | + } |
| 227 | + ], |
198 | 228 | "body": { |
199 | 229 | "mode": "graphql", |
200 | 230 | "graphql": { |
|
251 | 281 | "name": "allPastries", |
252 | 282 | "originalRequest": { |
253 | 283 | "method": "POST", |
254 | | - "header": [], |
| 284 | + "header": [ |
| 285 | + { |
| 286 | + "key": "Content-Type", |
| 287 | + "value": "application/json", |
| 288 | + "type": "text" |
| 289 | + } |
| 290 | + ], |
255 | 291 | "body": { |
256 | 292 | "mode": "graphql", |
257 | 293 | "graphql": { |
|
313 | 349 | "name": "Awesome Baba Rhum", |
314 | 350 | "originalRequest": { |
315 | 351 | "method": "POST", |
316 | | - "header": [], |
| 352 | + "header": [ |
| 353 | + { |
| 354 | + "key": "Content-Type", |
| 355 | + "value": "application/json", |
| 356 | + "type": "text" |
| 357 | + } |
| 358 | + ], |
317 | 359 | "body": { |
318 | 360 | "mode": "graphql", |
319 | 361 | "graphql": { |
|
347 | 389 | "name": "Delicious Tartelette", |
348 | 390 | "originalRequest": { |
349 | 391 | "method": "POST", |
350 | | - "header": [], |
| 392 | + "header": [ |
| 393 | + { |
| 394 | + "key": "Content-Type", |
| 395 | + "value": "application/json", |
| 396 | + "type": "text" |
| 397 | + } |
| 398 | + ], |
351 | 399 | "body": { |
352 | 400 | "mode": "graphql", |
353 | 401 | "graphql": { |
|
0 commit comments