{"info":{"_postman_id":"d4d506eb-c50f-4d38-a89c-88022dfcc3ec","name":"rePlate","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"7448226","collectionId":"d4d506eb-c50f-4d38-a89c-88022dfcc3ec","publishedId":"SVn2PbQL","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"D6F8FF"},"publishDate":"2019-09-26T22:47:46.000Z"},"item":[{"name":"pickups","item":[{"name":"all pickups","id":"8273226f-283b-4fc4-81c2-093bb3e699ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://replate-api.herokuapp.com/pickups/","urlObject":{"protocol":"https","path":["pickups",""],"host":["replate-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"42d07561-7313-49a5-8fe1-6d763aba1757","name":"all pickups","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"334"},{"key":"ETag","value":"W/\"14e-kj5edNxlVvFAWcoHruZysWfZVU4\""},{"key":"Date","value":"Wed, 25 Sep 2019 14:11:57 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"food\": \"cheese bread\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": 2,\n        \"restaurant_id\": 1,\n        \"location_id\": 1,\n        \"nonprofit_id\": 1\n    },\n    {\n        \"food\": \"bread\",\n        \"quantity\": \"20 naans\",\n        \"volunteer_id\": 3,\n        \"restaurant_id\": 1,\n        \"location_id\": 1,\n        \"nonprofit_id\": 1\n    },\n    {\n        \"food\": \"spagetti\",\n        \"quantity\": \"100 lbs\",\n        \"volunteer_id\": 2,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    }\n]"}],"_postman_id":"8273226f-283b-4fc4-81c2-093bb3e699ca"},{"name":"all pickups by restaurant_id","id":"82a309e5-308e-49a2-a63c-16b2c5fc1586","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://replate-api.herokuapp.com/pickups/1","description":"<p>Get a pickup by specifying the restaurant id, followed by the volunteer id in the endpoitn URL</p>\n","urlObject":{"protocol":"https","path":["pickups","1"],"host":["replate-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"18573549-3726-4773-8916-9ef77ba582a5","name":"single pickup","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/pickups/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"219"},{"key":"ETag","value":"W/\"db-V8CKEqOFCLPetVqyk5SdRbE/Sxw\""},{"key":"Date","value":"Wed, 25 Sep 2019 14:13:36 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"food\": \"cheese bread\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": 2,\n        \"restaurant_id\": 1,\n        \"location_id\": 1,\n        \"nonprofit_id\": 1\n    },\n    {\n        \"food\": \"bread\",\n        \"quantity\": \"20 naans\",\n        \"volunteer_id\": 3,\n        \"restaurant_id\": 1,\n        \"location_id\": 1,\n        \"nonprofit_id\": 1\n    }\n]"},{"id":"82bbea71-b9c2-4346-88b7-0550f157e8a3","name":"all pickups by restaurant_id","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/pickups/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"685"},{"key":"ETag","value":"W/\"2ad-KuUW4urTdLGHw4v/zDbuk73dV6E\""},{"key":"Date","value":"Wed, 25 Sep 2019 14:56:26 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"food\": \"Spinach\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"Lettuce\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"Fries\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"steak\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"dajaja\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"turkey\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    }\n]"},{"id":"86506f7f-1de9-4ac0-8247-2a6fb911fb99","name":"single pickup","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/pickups/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"797"},{"key":"ETag","value":"W/\"31d-f1Z6YW3ZD7seOzTqpXASydJG1SM\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:01:59 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"food\": \"Spinach\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"Lettuce\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"Fries\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"steak\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"dajaja\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"turkey\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": null,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    },\n    {\n        \"food\": \"bananas\",\n        \"quantity\": \"2 lbs\",\n        \"volunteer_id\": 1,\n        \"restaurant_id\": 3,\n        \"location_id\": null,\n        \"nonprofit_id\": null\n    }\n]"}],"_postman_id":"82a309e5-308e-49a2-a63c-16b2c5fc1586"},{"name":"add pickup","id":"e9f1d8a8-d4e4-4d77-aed6-d89c46efdfb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{ \r\n  \"food\": \"hummus\",\r\n  \"quantity\": \"2 lbs\",\r\n  \"restaurant_id\": 3,\r\n  \"location_id\" : 1\r\n}"},"url":"https://replate-api.herokuapp.com/pickups/","description":"<p>Add a new pickup.  the restaurant_id is a required field. on the request object.  The volunteer_id is optional.  Assigned null by default if no volunteer_id is passed in.  restaurant_id required.  food and quantity required as well.</p>\n","urlObject":{"protocol":"https","path":["pickups",""],"host":["replate-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"0f9f377b-ec0d-4a5f-b433-1065047fa6b7","name":"add pickup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"grilled salmon\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 3,\r\n\t\"volunteer_id\" : 3\r\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"ETag","value":"W/\"76-gzA/OaowRGAMzKpoLYyIp4WqQ5U\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:43:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"grilled salmon\",\n    \"quantity\": \"2 lbs\",\n    \"volunteer_id\": 3,\n    \"restaurant_id\": 3,\n    \"location_id\": null,\n    \"nonprofit_id\": null\n}"},{"id":"1e13513b-b3d6-4c3d-8d98-e1c30f8c527d","name":"add pickup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"grilled salmon\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 3,\r\n\t\"volunteer_id\" : 3\r\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"ETag","value":"W/\"76-gzA/OaowRGAMzKpoLYyIp4WqQ5U\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:43:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"grilled salmon\",\n    \"quantity\": \"2 lbs\",\n    \"volunteer_id\": 3,\n    \"restaurant_id\": 3,\n    \"location_id\": null,\n    \"nonprofit_id\": null\n}"},{"id":"57785804-2110-47c2-afc8-492ba8d5029d","name":"add pickup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"grilled salmon\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 3,\r\n\t\"volunteer_id\" : 3\r\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"ETag","value":"W/\"76-gzA/OaowRGAMzKpoLYyIp4WqQ5U\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:43:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"grilled salmon\",\n    \"quantity\": \"2 lbs\",\n    \"volunteer_id\": 3,\n    \"restaurant_id\": 3,\n    \"location_id\": null,\n    \"nonprofit_id\": null\n}"},{"id":"d1398b53-4462-42c0-9841-c8a7c0d5dd76","name":"add pickup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"turkey\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 3\r\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"113"},{"key":"ETag","value":"W/\"71-gTi4EMa4cTjGtvFjEvqc9i8WAMs\""},{"key":"Date","value":"Wed, 25 Sep 2019 14:56:15 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"turkey\",\n    \"quantity\": \"2 lbs\",\n    \"volunteer_id\": null,\n    \"restaurant_id\": 3,\n    \"location_id\": null,\n    \"nonprofit_id\": null\n}"},{"id":"fc71e651-165e-4fcd-9099-300f04b78144","name":"add pickup","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"grilled salmon\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 3,\r\n\t\"volunteer_id\" : 3\r\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"118"},{"key":"ETag","value":"W/\"76-gzA/OaowRGAMzKpoLYyIp4WqQ5U\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:43:20 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"grilled salmon\",\n    \"quantity\": \"2 lbs\",\n    \"volunteer_id\": 3,\n    \"restaurant_id\": 3,\n    \"location_id\": null,\n    \"nonprofit_id\": null\n}"}],"_postman_id":"e9f1d8a8-d4e4-4d77-aed6-d89c46efdfb8"},{"name":"specific pickup","id":"8c6763bd-8ea0-4405-ba35-9e57e58230ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://replate-api.herokuapp.com/1/1","description":"<p>find all pickups belonging to one restaurant_id by adding the id integer to the request URL.  Returns all pickups where the volunteer_id is null.</p>\n","urlObject":{"protocol":"https","path":["1","1"],"host":["replate-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"47cad694-1b7f-431c-aab9-2149c3ab2f53","name":"specific pickup","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/pickups/3/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"111"},{"key":"ETag","value":"W/\"6f-b7O/m3J2vW9kV1LX/dfANVr2TUQ\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:23:43 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"bananas\",\n    \"quantity\": \"2 lbs\",\n    \"volunteer_id\": 1,\n    \"restaurant_id\": 3,\n    \"location_id\": null,\n    \"nonprofit_id\": null\n}"}],"_postman_id":"8c6763bd-8ea0-4405-ba35-9e57e58230ba"},{"name":"modify pickup","id":"08f71d0d-b9f5-47ee-ae51-27052c0764d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"garlic bread\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 1,\r\n\t\"volunteer_id\" : 2\r\n}"},"url":"http://0bbfee1e.ngrok.io/pickups/","description":"<p>requires the restaurant_id and volunteer_id on the request object. NOT on the request URL.  </p>\n","urlObject":{"protocol":"http","path":["pickups",""],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"aaf21ec2-9f61-4ef8-974b-c7a85dfeed41","name":"modify pickup","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"garlic bread\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 1,\r\n\t\"volunteer_id\" : 2\r\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"ETag","value":"W/\"6e-loBs/fS2UuTw4WdNcuFQpHcVykw\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:30:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"garlic bread\",\n    \"quantity\": \"2 lbs\",\n    \"volunteer_id\": 2,\n    \"restaurant_id\": 1,\n    \"location_id\": 1,\n    \"nonprofit_id\": 1\n}"}],"_postman_id":"08f71d0d-b9f5-47ee-ae51-27052c0764d8"},{"name":"modify pickup test","id":"b02e4bbd-e3df-4f57-9e03-ad07640b7164","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"garlic bread\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 1,\r\n\t\"volunteer_id\" : 2\r\n}"},"url":"http://0bbfee1e.ngrok.io/pickups/","description":"<p>requires the restaurant_id and volunteer_id on the request object. NOT on the request URL.  </p>\n","urlObject":{"protocol":"http","path":["pickups",""],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"6f8944d9-47ef-43f5-9e0a-cc26f577b8da","name":"modify pickup","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\r\n\t\"food\" : \"garlic bread\",\r\n\t\"quantity\": \"2 lbs\",\r\n\t\"restaurant_id\" : 1,\r\n\t\"volunteer_id\" : 2\r\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"ETag","value":"W/\"6e-loBs/fS2UuTw4WdNcuFQpHcVykw\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:30:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"garlic bread\",\n    \"quantity\": \"2 lbs\",\n    \"volunteer_id\": 2,\n    \"restaurant_id\": 1,\n    \"location_id\": 1,\n    \"nonprofit_id\": 1\n}"}],"_postman_id":"b02e4bbd-e3df-4f57-9e03-ad07640b7164"},{"name":"remove pickup","id":"e85fc598-24c8-4f87-89a1-e75b3fef6e36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://0bbfee1e.ngrok.io/pickups/1/2","description":"<p>specify the restuarant id and the volunteer id in the request URL to delete the request.</p>\n","urlObject":{"protocol":"http","path":["pickups","1","2"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"6d1cc59a-b644-459c-a70d-fc7d2cc9f7c7","name":"remove pickup","originalRequest":{"method":"DELETE","header":[],"url":"http://0bbfee1e.ngrok.io/pickups/1/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"72"},{"key":"ETag","value":"W/\"48-PCIzt12V1nOih9SfljYxnFWL0m4\""},{"key":"Date","value":"Wed, 25 Sep 2019 15:34:31 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": \"pickup with restaurant id 1 and volunteer_id 2 deleted... \"\n}"}],"_postman_id":"e85fc598-24c8-4f87-89a1-e75b3fef6e36"},{"name":"modify pickup test - id not found","id":"7542e596-aa46-49a9-8838-99e61d1a9d6b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"volunteer_id\" : 1, \r\n\t\"restaurant_id\" : 4\r\n}"},"url":"http://0bbfee1e.ngrok.io/pickups/","description":"<p>restaurant_id is a required field on the request objecct.  if missing, a 400 message ssent.</p>\n","urlObject":{"protocol":"http","path":["pickups",""],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"8d91fe25-7398-48b5-8759-be40f9727227","name":"modify pickup test - id not found","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n\t\"volunteer_id\" : 1, \r\n\t\"restaurant_id\" : 3\r\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/pickups/"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"143"},{"key":"ETag","value":"W/\"8f-Tbywhk5eYBfEhsRYvD/sZ7v1Ips\""},{"key":"Date","value":"Fri, 27 Sep 2019 12:35:42 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"food\": \"chicken\",\n    \"quantity\": \"3 lbs\",\n    \"date\": \"01-01-2099\",\n    \"time\": \"12:00 pm\",\n    \"volunteer_id\": 1,\n    \"restaurant_id\": 3,\n    \"location_id\": 1,\n    \"nonprofit_id\": 1\n}"}],"_postman_id":"7542e596-aa46-49a9-8838-99e61d1a9d6b"}],"id":"690e1896-5eef-4561-9557-51e1522a07c0","_postman_id":"690e1896-5eef-4561-9557-51e1522a07c0","description":""},{"name":"auth","item":[{"name":"register restaurant","id":"8a7b2316-1b39-4832-b0df-5af7cb159a71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"restaurant_name\" : \"Jimmy Johns\",\n\t\"contact\" : \"John\",\n\t\"username\" : \"jimmy\",\n\t\"password\" : \"pass\",\n\t\"city\" : \"miami beach\",\n\t\"zip\" : \"99999\",\n\t\"email\" : \"velv@email.com\",\n\t\"phone\" : \"123-456-7890\",\n\t\"address\" : \"123 runner way\"\n}\n\n"},"url":"http://0bbfee1e.ngrok.io/auth/register","description":"<p>register a new volunteer or restaurant.<br />restaurant_naem or volunteer_name are required keys for a successful registration</p>\n","urlObject":{"protocol":"http","path":["auth","register"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"f281dd16-89c9-45ec-8a8c-e9bb4dc534bd","name":"register restaurant","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"restaurant_name\" : \"Jimmy Johns\",\n\t\"contact\" : \"John\",\n\t\"username\" : \"jimmy\",\n\t\"password\" : \"pass\",\n\t\"city\" : \"miami beach\",\n\t\"zip\" : \"99999\",\n\t\"email\" : \"velv@email.com\",\n\t\"phone\" : \"123-456-7890\",\n\t\"address\" : \"123 runner way\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"682"},{"key":"ETag","value":"W/\"2aa-LDld5cbjkD7YH6U8ZIkDhJTC+CA\""},{"key":"Date","value":"Thu, 26 Sep 2019 22:14:11 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 5,\n    \"restaurant_name\": \"Jimmy Johns\",\n    \"contact\": \"John\",\n    \"address\": \"123 runner way\",\n    \"city\": \"miami beach\",\n    \"zip\": \"99999\",\n    \"phone\": \"123-456-7890\",\n    \"email\": \"velv@email.com\",\n    \"username\": \"jimmy\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjo1LCJyZXN0YXVyYW50X25hbWUiOiJKaW1teSBKb2hucyIsImNvbnRhY3QiOiJKb2huIiwiYWRkcmVzcyI6IjEyMyBydW5uZXIgd2F5IiwiY2l0eSI6Im1pYW1pIGJlYWNoIiwiemlwIjoiOTk5OTkiLCJwaG9uZSI6IjEyMy00NTYtNzg5MCIsImVtYWlsIjoidmVsdkBlbWFpbC5jb20iLCJ1c2VybmFtZSI6ImppbW15IiwicGFzc3dvcmQiOiIkMmEkMTAkdHQuVzQzcEFKWDJ2Tk9zYmZjb0pNLnkxL0c3YzJxcnFWZjUuQzNBdVdEZFh5MzJNRmRaMC4ifSwiaWF0IjoxNTY5NTM2MDUxLCJleHAiOjE1Njk1Mzk2NTF9.ZT-Z4ZFlwe6GD1DMHD6vZhqEn2LYEKZo77vc1faQP_o\"\n}"}],"_postman_id":"8a7b2316-1b39-4832-b0df-5af7cb159a71"},{"name":"register volunteer","id":"edf93267-9898-4c37-b887-42b341067788","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"volunteer_name\" : \"Helping Hand\",\n\t\"username\" : \"charity\",\n\t\"password\" : \"pass\",\n\t\"email\" : \"charity@email.com\",\n\t\"phone\" : \"123-456-7890\"\n}\n\n"},"url":"http://0bbfee1e.ngrok.io/auth/register","description":"<p>register a new volunteer or restaurant.<br />restaurant_naem or volunteer_name are required keys for a successful registration</p>\n","urlObject":{"protocol":"http","path":["auth","register"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"f3a9d850-8e70-4e03-8c9d-12ec78fdf9d5","name":"register volunteer","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"volunteer_name\" : \"Helping Hand\",\n\t\"username\" : \"charity\",\n\t\"password\" : \"pass\",\n\t\"email\" : \"charity@email.com\",\n\t\"phone\" : \"123-456-7890\"\n}\n\n","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/auth/register"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"510"},{"key":"ETag","value":"W/\"1fe-RvmMLNQZZxvb4qRclfAP72P5k6o\""},{"key":"Date","value":"Thu, 26 Sep 2019 22:26:37 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"volunteer_name\": \"Helping Hand\",\n    \"phone\": \"123-456-7890\",\n    \"email\": \"charity@email.com\",\n    \"username\": \"charity\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjo0LCJ2b2x1bnRlZXJfbmFtZSI6IkhlbHBpbmcgSGFuZCIsInBob25lIjoiMTIzLTQ1Ni03ODkwIiwiZW1haWwiOiJjaGFyaXR5QGVtYWlsLmNvbSIsInVzZXJuYW1lIjoiY2hhcml0eSIsInBhc3N3b3JkIjoiJDJhJDEwJEs4Y3NzRTgwR2czQ3NiWHJHNHdaRnVhWkNUL2hRbW1vM0J2WWE0cWlrWkJiUTFQWkZCNXNTIn0sImlhdCI6MTU2OTUzNjc5NywiZXhwIjoxNTY5NTQwMzk3fQ.7DCxFy6M5U1IJ_LCnUAVwfghs3WuEyxYOOFNiH1Soic\"\n}"}],"_postman_id":"edf93267-9898-4c37-b887-42b341067788"},{"name":"login","id":"d8815303-cf59-4aa9-bcad-27085540be72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"vol1\",\n    \"password\": \"pass\"\n}"},"url":"http://0bbfee1e.ngrok.io/auth/login","description":"<p>Login using existing restuarant or volunteer credentials.  Returns a JSON Web Token (JWT) valid for 1 hour</p>\n","urlObject":{"protocol":"http","path":["auth","login"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"d3e774bf-dc65-4d81-8587-e25e1205da6a","name":"login","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"username\": \"vol1\",\n    \"password\": \"pass\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/auth/login"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"471"},{"key":"ETag","value":"W/\"1d7-15LLp+PqOn9KlCes5rwAo/IwsrI\""},{"key":"Date","value":"Wed, 25 Sep 2019 20:06:02 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"volunteer_name\": \"volunteer1\",\n    \"phone\": \"888-888-8888\",\n    \"email\": \"vol@email.com\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoxLCJ2b2x1bnRlZXJfbmFtZSI6InZvbHVudGVlcjEiLCJwaG9uZSI6Ijg4OC04ODgtODg4OCIsImVtYWlsIjoidm9sQGVtYWlsLmNvbSIsInVzZXJuYW1lIjoidm9sMSIsInBhc3N3b3JkIjoiJDJhJDEwJC56NzBQc2Y3LnhKL3R2eWpzWVB5YS5FSE5iZXh4OWwucml2UnhTMm50L3MzN1FGMWNQeDBhIn0sImlhdCI6MTU2OTQ0MTk2MywiZXhwIjoxNTY5NDQ1NTYzfQ.Yfx2_DqAZzBa-gOP2v7NWrCeVuhebwjRZlydb5svTuA\"\n}"}],"_postman_id":"d8815303-cf59-4aa9-bcad-27085540be72"}],"id":"916a66da-974f-4925-88db-e0db7935a1b0","_postman_id":"916a66da-974f-4925-88db-e0db7935a1b0","description":""},{"name":"volunteers","item":[{"name":"volunteers","id":"6319276d-3292-4e57-b2c8-7d75e45d410f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/volunteers","urlObject":{"protocol":"http","path":["volunteers"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"5d0893fa-3a50-4e18-a755-9e3b4e7ddb35","name":"volunteers","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/volunteers"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"407"},{"key":"ETag","value":"W/\"197-s1cVvnVkTE+zOaS/DcNu/IiwoF4\""},{"key":"Date","value":"Wed, 25 Sep 2019 20:29:03 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"volunteer_name\": \"volunteer1\",\n        \"phone\": \"888-888-8888\",\n        \"email\": \"vol@email.com\",\n        \"username\": \"vol1\"\n    },\n    {\n        \"id\": 2,\n        \"volunteer_name\": \"volunteer2\",\n        \"phone\": \"777-888-7777\",\n        \"email\": \"vol2@email.com\",\n        \"username\": \"vol2\"\n    },\n    {\n        \"id\": 3,\n        \"volunteer_name\": \"volunteer3\",\n        \"phone\": \"666-888-6666\",\n        \"email\": \"vol3@email.com\",\n        \"username\": \"vol3\"\n    },\n    {\n        \"id\": 4,\n        \"volunteer_name\": \"Helpers & Friends\",\n        \"phone\": null,\n        \"email\": null,\n        \"username\": \"helper\"\n    }\n]"}],"_postman_id":"6319276d-3292-4e57-b2c8-7d75e45d410f"},{"name":"volunteer by id","id":"2f73f6a1-a152-4023-ba29-ba7e81d80481","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/volunteers/1","description":"<p>Get a volunteer by specific volunteer_id as a params variable in the request URL</p>\n","urlObject":{"protocol":"http","path":["volunteers","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"5bb391fb-d4df-48d7-906c-76ebfb826de4","name":"volunteer by id","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/volunteers/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"103"},{"key":"ETag","value":"W/\"67-4H+/KuQdtqyWGz3dUxqBReSxWTg\""},{"key":"Date","value":"Wed, 25 Sep 2019 20:31:00 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"volunteer_name\": \"volunteer1\",\n    \"phone\": \"888-888-8888\",\n    \"email\": \"vol@email.com\",\n    \"username\": \"vol1\"\n}"}],"_postman_id":"2f73f6a1-a152-4023-ba29-ba7e81d80481"},{"name":"new volunteer","id":"f80ee87b-224e-41d7-9d51-1a1f9dd5ffea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"volunteer_name\" : \"may ng\",\n\t\"phone\" : \"979-789-5647\"\n}"},"url":"http://0bbfee1e.ngrok.io/volunteers/1","description":"<p>modifies an existing volunteer on the database.\nnothing is required on the request object to modify.</p>\n","urlObject":{"protocol":"http","path":["volunteers","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"b229cac0-c075-4c03-8e64-a3355e3e6426","name":"new volunteer","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"volunteer_name\" : \"may ng\",\n\t\"phone\" : \"979-789-5647\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/volunteers/1"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"99"},{"key":"ETag","value":"W/\"63-u7bqzIWI6VxMsuuAZZ3vZokqj3w\""},{"key":"Date","value":"Wed, 25 Sep 2019 20:50:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"volunteer_name\": \"may ng\",\n    \"phone\": \"979-789-5647\",\n    \"email\": \"vol@email.com\",\n    \"username\": \"vol1\"\n}"}],"_postman_id":"f80ee87b-224e-41d7-9d51-1a1f9dd5ffea"},{"name":"remove volunteer","id":"9556bd75-06a2-4a59-a94e-a9b637e91fdd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://0bbfee1e.ngrok.io/volunteers/2","description":"<p>deletes a volunteer using a volunteer_id on the params of the request URL.</p>\n","urlObject":{"protocol":"http","path":["volunteers","2"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"6c4ae0e0-bdfa-4028-b9cb-ebcbe7cd7b47","name":"remove volunteer","originalRequest":{"method":"DELETE","header":[],"url":"http://0bbfee1e.ngrok.io/volunteers/2"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"ETag","value":"W/\"3b-PvIQySeab9xQVFRvuiAuJOnxQ84\""},{"key":"Date","value":"Wed, 25 Sep 2019 20:44:35 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": \"volunteer with id 2 deleted from the database\"\n}"}],"_postman_id":"9556bd75-06a2-4a59-a94e-a9b637e91fdd"}],"id":"15c1cf1f-8538-40b8-9535-37108194b0c0","_postman_id":"15c1cf1f-8538-40b8-9535-37108194b0c0","description":""},{"name":"restaurants","item":[{"name":"restaurants","id":"a16152b1-cc53-43cb-8e38-c0e4cd4dc456","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/restaurants/","description":"<p>retrieve an array of all the restaurants in the database.</p>\n","urlObject":{"protocol":"http","path":["restaurants",""],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"d1446dd9-e64b-4c81-8c73-1cb4372181d7","name":"restaurants","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/restaurants/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1009"},{"key":"ETag","value":"W/\"3f1-E2uCCE9PsrGpObNTulgMciaFZ3M\""},{"key":"Date","value":"Wed, 25 Sep 2019 20:55:13 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"restaurant_name\": \"Bread and Kabob\",\n        \"contact_name\": \"suzie\",\n        \"address\": \"999 driver lane\",\n        \"city\": \"madina\",\n        \"zip\": \"12345\",\n        \"phone\": \"123-456-7890\",\n        \"email\": \"res@email.com\"\n    },\n    {\n        \"id\": 2,\n        \"restaurant_name\": \"Pizza Hut\",\n        \"contact_name\": \"jake\",\n        \"address\": \"950 sirat way\",\n        \"city\": \"makkah\",\n        \"zip\": \"12345\",\n        \"phone\": \"123-456-7890\",\n        \"email\": \"res2@email.com\"\n    },\n    {\n        \"id\": 3,\n        \"restaurant_name\": \"Applebees\",\n        \"contact_name\": \"franchi\",\n        \"address\": \"666 highway blvd\",\n        \"city\": \"jerusalem\",\n        \"zip\": \"12345\",\n        \"phone\": \"123-456-7890\",\n        \"email\": \"res3@email.com\"\n    },\n    {\n        \"id\": 4,\n        \"restaurant_name\": \"ketchup\",\n        \"contact_name\": null,\n        \"address\": null,\n        \"city\": null,\n        \"zip\": null,\n        \"phone\": null,\n        \"email\": null\n    },\n    {\n        \"id\": 5,\n        \"restaurant_name\": \"beets\",\n        \"contact_name\": null,\n        \"address\": null,\n        \"city\": null,\n        \"zip\": null,\n        \"phone\": null,\n        \"email\": null\n    },\n    {\n        \"id\": 6,\n        \"restaurant_name\": \"coney island hot dogs\",\n        \"contact_name\": null,\n        \"address\": null,\n        \"city\": null,\n        \"zip\": null,\n        \"phone\": null,\n        \"email\": null\n    },\n    {\n        \"id\": 7,\n        \"restaurant_name\": \"jamaica\",\n        \"contact_name\": null,\n        \"address\": null,\n        \"city\": null,\n        \"zip\": null,\n        \"phone\": null,\n        \"email\": null\n    }\n]"}],"_postman_id":"a16152b1-cc53-43cb-8e38-c0e4cd4dc456"},{"name":"restaurant by id","id":"6b4dbd30-14d5-43e8-8762-fcbb013e768a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/restaurants/1","description":"<p>retrieve an array of all the restaurants in the database.</p>\n","urlObject":{"protocol":"http","path":["restaurants","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"172abaa2-eda3-467a-8391-1e1f7f1652fd","name":"restaurant by id","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/restaurants/1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"},{"key":"ETag","value":"W/\"bc-C+ridzJu/ENB0aI+QwuJ53hkVr4\""},{"key":"Date","value":"Wed, 25 Sep 2019 20:56:51 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"restaurant_name\": \"Bread and Kabob\",\n    \"contact_name\": \"suzie\",\n    \"address\": \"999 driver lane\",\n    \"city\": \"madina\",\n    \"zip\": \"12345\",\n    \"phone\": \"123-456-7890\",\n    \"email\": \"res@email.com\",\n    \"username\": \"bk\"\n}"}],"_postman_id":"6b4dbd30-14d5-43e8-8762-fcbb013e768a"},{"name":"new restaurant","id":"f2f545e9-4196-40e3-8549-b6bffe837038","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"restaurant_name\" : \"Dominoes\",\n\t\"contact_name\": \"test1\",\n\t\"username\" : \"dominoes\",\n\t\"password\" : \"pass\",\n\t\"city\" : \"san monaco\",\n\t\"zip\" : \"22222\",\n\t\"phone\" : \"123-456-7890\"\n}"},"url":"http://0bbfee1e.ngrok.io/restaurants","description":"<p>adds a new restaurant to the database</p>\n","urlObject":{"protocol":"http","path":["restaurants"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"fc119574-a787-4553-8248-c648ddaab505","name":"new restaurant dominoes","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"restaurant_name\" : \"Dominoes\",\n\t\"contact_name\": \"test1\",\n\t\"username\" : \"dominoes\",\n\t\"password\" : \"pass\",\n\t\"city\" : \"san monaco\",\n\t\"zip\" : \"22222\",\n\t\"phone\" : \"123-456-7890\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/restaurants"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"146"},{"key":"ETag","value":"W/\"92-T5uaLcY4IqbRteVOxRsnkud9vdw\""},{"key":"Date","value":"Wed, 25 Sep 2019 23:00:59 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 13,\n    \"restaurant_name\": \"Dominoes\",\n    \"contact_name\": \"test1\",\n    \"address\": null,\n    \"city\": \"san monaco\",\n    \"zip\": \"22222\",\n    \"phone\": \"123-456-7890\",\n    \"email\": null\n}"}],"_postman_id":"f2f545e9-4196-40e3-8549-b6bffe837038"},{"name":"modify restaurant","id":"4c3e9834-71d5-43ed-a8ee-8b3ace037652","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"restaurant_name\" : \"steinhilbers\",\n\t\"username\" : \"steiny\",\n\t\"password\" : \"pass\"\n}"},"url":"http://0bbfee1e.ngrok.io/restaurants/1","description":"<p>modifies the edetails of a restaurant, including username and/or password.</p>\n","urlObject":{"protocol":"http","path":["restaurants","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"e96e4e12-bece-4a5b-a836-e1c54699bc71","name":"modify restaurant","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"restaurant_name\" : \"steinhilbers\",\n\t\"username\" : \"steiny\",\n\t\"password\" : \"pass\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/restaurants/1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"169"},{"key":"ETag","value":"W/\"a9-5E24KQs3Ci/z+UdMb2e3DeRUef4\""},{"key":"Date","value":"Wed, 25 Sep 2019 21:20:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"restaurant_name\": \"steinhilbers\",\n    \"contact_name\": \"suzie\",\n    \"address\": \"999 driver lane\",\n    \"city\": \"madina\",\n    \"zip\": \"12345\",\n    \"phone\": \"123-456-7890\",\n    \"email\": \"res@email.com\"\n}"}],"_postman_id":"4c3e9834-71d5-43ed-a8ee-8b3ace037652"}],"id":"c209921d-214d-4d11-8a64-3be465cca73a","_postman_id":"c209921d-214d-4d11-8a64-3be465cca73a","description":""},{"name":"locations","item":[{"name":"locations","id":"65163a9e-b167-4706-ba98-d08cb334becc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/locations","description":"<p>get a list of available locations.</p>\n","urlObject":{"protocol":"http","path":["locations"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"9111f91c-7c2c-4bbe-bcff-2afbf9e2c54b","name":"locations","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/locations"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"299"},{"key":"ETag","value":"W/\"12b-qBR7prIwohKVeOmoupXrOBwV+qw\""},{"key":"Date","value":"Thu, 26 Sep 2019 20:55:51 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"address\": \"123 fun bus lane\",\n        \"city\": \"boston\",\n        \"state\": \"MA\",\n        \"zip\": \"12345\",\n        \"restaurant_id\": 1\n    },\n    {\n        \"id\": 2,\n        \"address\": \"999 churchill way\",\n        \"city\": \"tampa\",\n        \"state\": \"FL\",\n        \"zip\": \"98765\",\n        \"restaurant_id\": 1\n    },\n    {\n        \"id\": 3,\n        \"address\": \"777 sirat pathway\",\n        \"city\": \"makkah\",\n        \"state\": \"SA\",\n        \"zip\": \"77777\",\n        \"restaurant_id\": 1\n    }\n]"}],"_postman_id":"65163a9e-b167-4706-ba98-d08cb334becc"},{"name":"a specific location","id":"612ce6e8-987f-473b-b73a-6a390cd561fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/locations/1","description":"<p>get a specific location according to the location id, passed as a parameter in the request URL</p>\n","urlObject":{"protocol":"http","path":["locations","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"7b09565d-2b13-447b-8994-a8f7317cc90c","name":"a specific location","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/locations/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"47"},{"key":"ETag","value":"W/\"2f-5VzB6JrSQq955NfzvxBU49xCJyY\""},{"key":"Date","value":"Wed, 25 Sep 2019 21:28:21 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"location\": \"dallas1\",\n    \"restaurant_id\": 1\n}"}],"_postman_id":"612ce6e8-987f-473b-b73a-6a390cd561fb"},{"name":"new location","id":"eea1a787-fd2e-41b5-bfc9-c2f1390e82c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"address\" : \"757 church point blvd\",\n\t\"city\" : \"san fransisco\",\n\t\"state\" : \"CA\",\n\t\"zip\" : 73728,\n\t\"restaurant_id\" : 1\n}"},"url":"http://0bbfee1e.ngrok.io/locations","description":"<p>add a new location to the database</p>\n","urlObject":{"protocol":"http","path":["locations"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"3c688698-34f6-4e3a-934f-4b5d13e87659","name":"new location","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"address\" : \"757 church point blvd\",\n\t\"city\" : \"san fransisco\",\n\t\"state\" : \"CA\",\n\t\"zip\" : 73728,\n\t\"restaurant_id\" : 1\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/locations"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"110"},{"key":"ETag","value":"W/\"6e-LfqoEsTHDeTJB6ll1k7PgvIP2Pw\""},{"key":"Date","value":"Thu, 26 Sep 2019 20:57:38 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"address\": \"757 church point blvd\",\n    \"city\": \"san fransisco\",\n    \"state\": \"CA\",\n    \"zip\": \"73728\",\n    \"restaurant_id\": 1\n}"}],"_postman_id":"eea1a787-fd2e-41b5-bfc9-c2f1390e82c7"},{"name":"modify location","id":"5935bbd6-bd74-449d-89df-dc97fe843a65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"address\" : \"888 MLK Blvd\",\n\t\"city\" : \"san jose\",\n\t\"state\" : \"CA\",\n\t\"zip\" : 73728,\n\t\"restaurant_id\" : 1\n}"},"url":"http://0bbfee1e.ngrok.io/locations/2","description":"<p>modify an existing location</p>\n","urlObject":{"protocol":"http","path":["locations","2"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"b2d26301-3180-4a5a-b132-76a22924a826","name":"modify location","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"address\" : \"888 MLK Blvd\",\n\t\"city\" : \"san jose\",\n\t\"state\" : \"CA\",\n\t\"zip\" : 73728,\n\t\"restaurant_id\" : 1\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/locations/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"96"},{"key":"ETag","value":"W/\"60-rHiSd0bl7+mmx//or17ZGeUMy7I\""},{"key":"Date","value":"Thu, 26 Sep 2019 22:42:23 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"address\": \"888 MLK Blvd\",\n    \"city\": \"san jose\",\n    \"state\": \"CA\",\n    \"zip\": \"73728\",\n    \"restaurant_id\": 1\n}"}],"_postman_id":"5935bbd6-bd74-449d-89df-dc97fe843a65"},{"name":"remove location","id":"8fabe42e-3791-454f-90d3-2ec1cd349743","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://0bbfee1e.ngrok.io/locations/1","description":"<p>deletes a location from the database</p>\n","urlObject":{"protocol":"http","path":["locations","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"011e1175-f9a0-4a7d-9835-5865067b19bc","name":"remove location","originalRequest":{"method":"DELETE","header":[],"url":"http://0bbfee1e.ngrok.io/locations/1"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"50"},{"key":"ETag","value":"W/\"32-a8DZj0B29FQSXljFTd03ZuEAtZM\""},{"key":"Date","value":"Wed, 25 Sep 2019 22:22:09 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": \"location with id 1 has been deleted.\"\n}"}],"_postman_id":"8fabe42e-3791-454f-90d3-2ec1cd349743"}],"id":"3d2da8ab-e1b9-44b3-bd44-f75993bb7cbd","description":"<p>CREATE, READ, UPDATE, and DELETE (CRUD) location information</p>\n","_postman_id":"3d2da8ab-e1b9-44b3-bd44-f75993bb7cbd"},{"name":"nonprofits","item":[{"name":"nonprofits","id":"dacfe69f-f33d-402d-922c-a604d28851d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/nonprofits","description":"<p>get a list of nonprofits</p>\n","urlObject":{"protocol":"http","path":["nonprofits"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"5d63bd25-b48f-4f70-807b-5a1314fd84f8","name":"nonprofits","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/nonprofits"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"112"},{"key":"ETag","value":"W/\"70-9JBadeljWlWktb3qRW/TdEwsj2U\""},{"key":"Date","value":"Wed, 25 Sep 2019 22:27:49 GMT"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"nonprofit_name\": \"EPIC\"\n    },\n    {\n        \"id\": 2,\n        \"nonprofit_name\": \"Islamic Relief\"\n    },\n    {\n        \"id\": 3,\n        \"nonprofit_name\": \"Unicef\"\n    }\n]"}],"_postman_id":"dacfe69f-f33d-402d-922c-a604d28851d2"},{"name":"nonprofit by id","id":"28426afa-b9a4-4876-8971-a63e20f51a73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/nonprofits/1","description":"<p>get a specific nonprofit by id</p>\n","urlObject":{"protocol":"http","path":["nonprofits","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"1c886746-80b1-4e57-aefa-3994d062e5ca","name":"nonprofit by id","originalRequest":{"method":"GET","header":[],"url":"http://0bbfee1e.ngrok.io/nonprofits/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"32"},{"key":"ETag","value":"W/\"20-naIzQVK0g8gChavoydcEA0zvQrI\""},{"key":"Date","value":"Wed, 25 Sep 2019 22:29:27 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"nonprofit_name\": \"EPIC\"\n}"}],"_postman_id":"28426afa-b9a4-4876-8971-a63e20f51a73"},{"name":"new nonprofit","id":"3a444e00-dab9-4f81-b39a-829ecadb01bb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"nonprofit_name\" : \"Helping Hand USA\"\n}"},"url":"http://0bbfee1e.ngrok.io/nonprofits/","description":"<p>add a new nonprofit organization.</p>\n","urlObject":{"protocol":"http","path":["nonprofits",""],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"84bf0bfe-5426-455f-ac62-844f52116d0c","name":"new nonprofit","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"nonprofit_name\" : \"Helping Hand USA\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/nonprofits/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"44"},{"key":"ETag","value":"W/\"2c-3Ac7CUyYMi0GmaPD7LVW8o2aw3g\""},{"key":"Date","value":"Wed, 25 Sep 2019 22:31:52 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"nonprofit_name\": \"Helping Hand USA\"\n}"}],"_postman_id":"3a444e00-dab9-4f81-b39a-829ecadb01bb"},{"name":"modify nonprofit","id":"b6e85571-1344-4636-a143-8cd6a421f9ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonprofit_name\": \"Women Who Code\"\n}"},"url":"http://0bbfee1e.ngrok.io/nonprofits/1","description":"<p>modify an existing nonprofit organization</p>\n","urlObject":{"protocol":"http","path":["nonprofits","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"1083ba00-00d5-4336-95c6-f3963093d739","name":"modify nonprofit","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"nonprofit_name\": \"Women Who Code\"\n}","options":{"raw":{"language":"json"}}},"url":"http://0bbfee1e.ngrok.io/nonprofits/1"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-JAHwIkeDXpwzf+cjftUC3KJdutA\""},{"key":"Date","value":"Wed, 25 Sep 2019 22:33:16 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"nonprofit_name\": \"Women Who Code\"\n}"}],"_postman_id":"b6e85571-1344-4636-a143-8cd6a421f9ab"},{"name":"nonprofit","id":"7d4c6b41-0482-4d72-8df0-fda20b956577","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"http://0bbfee1e.ngrok.io/nonprofits/1","description":"<p>remove a nonprofit organization</p>\n","urlObject":{"protocol":"http","path":["nonprofits","1"],"host":["0bbfee1e","ngrok","io"],"query":[],"variable":[]}},"response":[{"id":"3acfed88-f377-4e0f-9b38-176630e89e75","name":"nonprofit","originalRequest":{"method":"DELETE","header":[],"url":"http://0bbfee1e.ngrok.io/nonprofits/1"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"51"},{"key":"ETag","value":"W/\"33-TDapRPgsREI6egbDBWQNsnbMKYQ\""},{"key":"Date","value":"Wed, 25 Sep 2019 22:34:08 GMT"}],"cookie":[],"responseTime":null,"body":"{\n    \"deleted\": \"nonprofit with id 1 has been deleted.\"\n}"}],"_postman_id":"7d4c6b41-0482-4d72-8df0-fda20b956577"}],"id":"a7460e8b-91dd-45b7-882e-de6a77d1ee4a","description":"<p>replate has the ability to store information about nonprofit organizations.\nFull CREATE, READ, UPDATE, DELETE (CRUD) functionality avilable for nonprofit data.  </p>\n","_postman_id":"a7460e8b-91dd-45b7-882e-de6a77d1ee4a"}]}