Browse Source

postman collection

master
Nicolas Massé 7 years ago
parent
commit
cb04e1be4a
  1. 18
      postman_collection.json

18
postman_collection.json

@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "72572bbf-8a2b-447f-b701-0051db6b30f6",
"_postman_id": "246c2680-daa5-4493-a768-0fc3e22f3d48",
"name": "TODO List API",
"description": "version=1.0 - Manage TODO's",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
@ -11,6 +11,20 @@
"item": [
{
"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": {
"method": "GET",
"header": [
@ -53,7 +67,7 @@
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": null,
"_postman_previewlanguage": "Text",
"header": [
{
"key": "Content-Type",

Loading…
Cancel
Save