|
|
@ -1,6 +1,6 @@ |
|
|
{ |
|
|
{ |
|
|
"info": { |
|
|
"info": { |
|
|
"_postman_id": "72572bbf-8a2b-447f-b701-0051db6b30f6", |
|
|
"_postman_id": "246c2680-daa5-4493-a768-0fc3e22f3d48", |
|
|
"name": "TODO List API", |
|
|
"name": "TODO List API", |
|
|
"description": "version=1.0 - Manage TODO's", |
|
|
"description": "version=1.0 - Manage TODO's", |
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" |
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" |
|
|
@ -11,6 +11,20 @@ |
|
|
"item": [ |
|
|
"item": [ |
|
|
{ |
|
|
{ |
|
|
"name": "Get TODO", |
|
|
"name": "Get TODO", |
|
|
|
|
|
"event": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"listen": "test", |
|
|
|
|
|
"script": { |
|
|
|
|
|
"id": "cde0e5c6-4d4e-4b3d-8b4d-ee19315d93fb", |
|
|
|
|
|
"exec": [ |
|
|
|
|
|
"pm.test(\"Status code is 200\", function () {", |
|
|
|
|
|
" pm.response.to.have.status(200);", |
|
|
|
|
|
"});" |
|
|
|
|
|
], |
|
|
|
|
|
"type": "text/javascript" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
"request": { |
|
|
"request": { |
|
|
"method": "GET", |
|
|
"method": "GET", |
|
|
"header": [ |
|
|
"header": [ |
|
|
@ -53,7 +67,7 @@ |
|
|
}, |
|
|
}, |
|
|
"status": "OK", |
|
|
"status": "OK", |
|
|
"code": 200, |
|
|
"code": 200, |
|
|
"_postman_previewlanguage": null, |
|
|
"_postman_previewlanguage": "Text", |
|
|
"header": [ |
|
|
"header": [ |
|
|
{ |
|
|
{ |
|
|
"key": "Content-Type", |
|
|
"key": "Content-Type", |
|
|
|