{"info":{"_postman_id":"369362dc-c11e-44f1-a7a9-ffe591cc2156","name":"API Learner","description":"Try out sample endpoints using an API hosted on Glitch. Open each request in the collection and click __Send__ to see it run.\n\n__To view the code for the API [visit the project on Glitch](https://glitch.com/edit/#!/postman-api-learner).__\n\n# Remix your own version of the API\n\nYou can extend the API and update your Postman collection to call your own version of the endpoints.\n\nUse the button in the top left [in Glitch](https://glitch.com/edit/#!/postman-api-learner) to remix the project and edit the code.\n\n<img alt=\"remix project\" width=\"250px\" src=\"https://user-images.githubusercontent.com/6666370/73610601-1de13000-45d1-11ea-9185-45050710b8e1.png\"/>\n\nGlitch will automatically give your remix a new name and URL - click __Show__ &gt; __In a New Window__ to see it in your browser address bar.\n\n<img alt=\"open glitch\" src=\"https://user-images.githubusercontent.com/6666370/73610745-ab714f80-45d2-11ea-9ecb-31e805dcafd8.png\" width=\"450px\"/>\n\nIn Postman, edit the `url` collection variable to make the requests point at your remix of the API.\n\n<img alt=\"edit collection\" src=\"https://user-images.githubusercontent.com/6666370/73610639-68fb4300-45d1-11ea-85fd-2ed84262d759.png\" width=\"250px\"/><br/>\n\n<img alt=\"edit variable\" src=\"https://user-images.githubusercontent.com/6666370/73610640-68fb4300-45d1-11ea-9fb2-031a212a4ced.png\" width=\"600px\"/>\n\nEdit the requests in the collection to reflect the changes you make on Glitch. \n\n_Remember to sign into / up for Glitch to save your project, and save your edited collection requests in Postman._","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Get data","event":[{"listen":"test","script":{"id":"2429f121-6ffd-474f-92e9-19db5734a650","exec":[""],"type":"text/javascript"}}],"id":"2eb5d726-d0fc-4521-8fad-e066db6470bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/info","description":"Get data from the API at the /info endpoint"},"response":[{"id":"1657d047-c14e-4e99-a2a9-0bdc5710dc60","name":"Get data","originalRequest":{"method":"GET","header":[],"url":"{{url}}/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jun 2020 15:35:41 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"37"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"Express"},{"key":"etag","value":"W/\"25-Xqwo/6dp/X3uWqc0VJHdsdRW3Xg\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You made a GET request!\"\n}"}],"_postman_id":"2eb5d726-d0fc-4521-8fad-e066db6470bb"},{"name":"Post data","event":[{"listen":"test","script":{"id":"bff0573e-b206-496f-be7d-a006cb1670ef","exec":[""],"type":"text/javascript"}}],"id":"7246b0bf-6d5e-46d0-a10e-3bf8637c1c38","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"sue\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/info","description":"Post data to the API at the /info endpoint, passing the json to add as body data"},"response":[{"id":"0c5a549b-199c-4a8a-b270-6d8ebad9026a","name":"Post data","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"sue\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/info"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jun 2020 15:35:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"84"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"Express"},{"key":"etag","value":"W/\"54-wg8QE3Sxp7+lJ/McIfLcj0dTLkw\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You made a POST request with the following data!\",\n    \"data\": {\n        \"name\": \"sue\"\n    }\n}"}],"_postman_id":"7246b0bf-6d5e-46d0-a10e-3bf8637c1c38"},{"name":"Delete data","event":[{"listen":"test","script":{"id":"305f0caf-e9ee-4cee-b2f6-7ac105f97cba","exec":[""],"type":"text/javascript"}}],"id":"55fa87bb-1c34-4fd1-978d-803aabbe8b46","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/info?id={{id}}","host":["{{url}}"],"path":["info"],"query":[{"key":"id","value":"{{id}}"}]},"description":"Delete data from the API at the /info endpoint, specifying the data by passing its id as a query parameter"},"response":[{"id":"31c5e7bf-4f9c-48dd-8f0e-5eda9d325496","name":"Delete data","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{url}}/info?id={{id}}","host":["{{url}}"],"path":["info"],"query":[{"key":"id","value":"{{id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jun 2020 15:36:07 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"Express"},{"key":"etag","value":"W/\"37-Avb8HdSXYFG7v9MAHgR6oLX97hQ\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You made a DELETE request to delete id=1!\"\n}"}],"_postman_id":"55fa87bb-1c34-4fd1-978d-803aabbe8b46"},{"name":"Put data","id":"13b41d91-2e05-4130-a9a1-d44212e90144","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"sue\"\n}"},"url":{"raw":"{{url}}/info?id={{id}}","host":["{{url}}"],"path":["info"],"query":[{"key":"id","value":"{{id}}"}]},"description":"Put data at the /info endpoint by passing a query parameter representing the id and body json with the data to update with"},"response":[{"id":"b1fb6cf1-d90c-4b5b-921e-00e5e73de5e0","name":"Put data","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"sue\"\n}"},"url":{"raw":"{{url}}/info?id={{id}}","host":["{{url}}"],"path":["info"],"query":[{"key":"id","value":"{{id}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jun 2020 15:36:16 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"98"},{"key":"Connection","value":"keep-alive"},{"key":"x-powered-by","value":"Express"},{"key":"etag","value":"W/\"62-0Lj240g/4+5kz8iCk4xBKsbqoEE\""}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"You made a PUT request to update id=1 with the following data!\",\n    \"data\": {\n        \"name\": \"sue\"\n    }\n}"}],"_postman_id":"13b41d91-2e05-4130-a9a1-d44212e90144"}],"event":[{"listen":"prerequest","script":{"id":"96f5a5b4-c000-4c20-bef2-0fbcf9bc0e59","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a5f9210e-4ac3-4180-8613-e2a1f0584f1d","type":"text/javascript","exec":[""]}}],"variable":[{"key":"url","value":"postman-api-learner.glitch.me"},{"key":"id","value":"1"},{"key":"name","value":"sue"}]}