diff --git a/postman_collection.json b/postman_collection.json new file mode 100644 index 0000000..ee4f55f --- /dev/null +++ b/postman_collection.json @@ -0,0 +1,94 @@ +{ + "info": { + "_postman_id": "72572bbf-8a2b-447f-b701-0051db6b30f6", + "name": "TODO List API", + "description": "version=1.0 - Manage TODO's", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" + }, + "item": [ + { + "name": "todo", + "item": [ + { + "name": "Get TODO", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http:///todo", + "description": "Get all TODOs" + }, + "response": [ + { + "name": "Get TODO", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "key": "Content-Type", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "" + }, + "url": "http:///todo" + }, + "_postman_previewlanguage": null, + "header": [ + { + "key": "Content-Type", + "value": "application/json", + "description": "", + "type": "text" + } + ], + "cookie": [], + "body": "{\n\t\"id\": 123,\n\t\"message\": \"A sample TODO\"\n}" + } + ] + } + ], + "description": "Folder for todo" + } + ], + "event": [ + { + "listen": "prerequest", + "script": { + "id": "b174aaa7-95d8-42dc-b50e-c733a862800b", + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "id": "0aabe6f0-a96a-4d81-8b88-e79a35e51706", + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ] +} \ No newline at end of file