{"info":{"_postman_id":"a9456485-e7cc-4d7b-ae31-53e5c1a20bda","name":"med-cab","description":"<html><head></head><body><p>API to add users and add recommendations for each user</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"10127954","collectionId":"a9456485-e7cc-4d7b-ae31-53e5c1a20bda","publishedId":"SzRuXBEh","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-03-04T03:09:49.000Z"},"item":[{"name":"https://med-cab.herokuapp.com/api/auth/register","id":"18176fc9-710a-475a-ba4f-2d5db661244f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"bobo\",\n\t\"password\": \"password1234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://med-cab.herokuapp.com/api/auth/register","description":"<p>Register a user with username and password</p>\n","urlObject":{"protocol":"https","path":["api","auth","register"],"host":["med-cab","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"18176fc9-710a-475a-ba4f-2d5db661244f"},{"name":"https://med-cab.herokuapp.com/api/auth/login","id":"7d399e02-36df-4507-b3ad-2fb9cb5e9d82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"username\": \"matt\",\n\t\"password\": \"password1234\"\n}","options":{"raw":{"language":"json"}}},"url":"https://med-cab.herokuapp.com/api/auth/login","description":"<p>Login with a user</p>\n","urlObject":{"protocol":"https","path":["api","auth","login"],"host":["med-cab","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d399e02-36df-4507-b3ad-2fb9cb5e9d82"},{"name":"https://med-cab.herokuapp.com/api/users/cannabis/conditions","id":"5da0244d-bdcd-42b5-8f54-d2a1e6a9c466","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOjQsInVzZXJuYW1lIjoibWF0dCIsImlhdCI6MTU4MzI4OTQ2NiwiZXhwIjoxNTgzMjkzMDY2fQ.st0PABcf4eOv5QRFtuP_KfBnROW-6CfHSg5JFpX69mo","type":"text"}],"url":"https://med-cab.herokuapp.com/api/users/cannabis/conditions","description":"<p>Retrieve medical conditions</p>\n","urlObject":{"protocol":"https","path":["api","users","cannabis","conditions"],"host":["med-cab","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"5da0244d-bdcd-42b5-8f54-d2a1e6a9c466"},{"name":"https://med-cab.herokuapp.com/api/users/cannabis/flavors","id":"52935759-3d3d-45ba-b90b-b0dd57f92d8b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOjQsInVzZXJuYW1lIjoibWF0dCIsImlhdCI6MTU4MzI4OTQ2NiwiZXhwIjoxNTgzMjkzMDY2fQ.st0PABcf4eOv5QRFtuP_KfBnROW-6CfHSg5JFpX69mo","type":"text"}],"url":"https://med-cab.herokuapp.com/api/users/cannabis/effects","description":"<p>Retrieve flavors</p>\n","urlObject":{"protocol":"https","path":["api","users","cannabis","effects"],"host":["med-cab","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"52935759-3d3d-45ba-b90b-b0dd57f92d8b"},{"name":"https://med-cab.herokuapp.com/api/users/cannabis/flavors","id":"b866f0b8-cd38-40f8-9456-e657bbb10a89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOjQsInVzZXJuYW1lIjoibWF0dCIsImlhdCI6MTU4MzI4OTQ2NiwiZXhwIjoxNTgzMjkzMDY2fQ.st0PABcf4eOv5QRFtuP_KfBnROW-6CfHSg5JFpX69mo","type":"text"}],"url":"https://med-cab.herokuapp.com/api/users/cannabis/flavors","description":"<p>Retrieve flavors</p>\n","urlObject":{"protocol":"https","path":["api","users","cannabis","flavors"],"host":["med-cab","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b866f0b8-cd38-40f8-9456-e657bbb10a89"},{"name":"https://med-cab.herokuapp.com/api/users/cannabis/4/recommendations","id":"70ab8b07-ff92-4ae5-aac9-41ad8c82c315","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOjQsInVzZXJuYW1lIjoibWF0dCIsImlhdCI6MTU4MzI4OTQ2NiwiZXhwIjoxNTgzMjkzMDY2fQ.st0PABcf4eOv5QRFtuP_KfBnROW-6CfHSg5JFpX69mo","type":"text"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"strain\": \"Tuna-Og\",\n\t\"intake_method\": \"spray\",\n\t\"dosage_cbd\": 5,\n\t\"dosage_thc\": 17,\n\t\"frequency\": \"1/day\"\n}","options":{"raw":{"language":"json"}}},"url":"https://med-cab.herokuapp.com/api/users/cannabis/4/recommendations","description":"<p>Post a recommendation to a specific user</p>\n","urlObject":{"protocol":"https","path":["api","users","cannabis","4","recommendations"],"host":["med-cab","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"70ab8b07-ff92-4ae5-aac9-41ad8c82c315"},{"name":"https://med-cab.herokuapp.com/api/users/cannabis/4/recommendations","id":"2112a8a1-d0a5-47c9-a3b0-5cc7fbff99a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOjQsInVzZXJuYW1lIjoibWF0dCIsImlhdCI6MTU4MzI4OTQ2NiwiZXhwIjoxNTgzMjkzMDY2fQ.st0PABcf4eOv5QRFtuP_KfBnROW-6CfHSg5JFpX69mo","type":"text"}],"url":"https://med-cab.herokuapp.com/api/users/cannabis/4/recommendations","description":"<p>Retrieve saved recommendations for a user</p>\n","urlObject":{"protocol":"https","path":["api","users","cannabis","4","recommendations"],"host":["med-cab","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2112a8a1-d0a5-47c9-a3b0-5cc7fbff99a7"},{"name":"https://med-cab.herokuapp.com/api/users/cannabis/prediction","id":"d2db695b-6838-4513-9c16-22888100304a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"authorization","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyaWQiOjEsInVzZXJuYW1lIjoibWF0dHN0ZWVsZSIsImlhdCI6MTU4MzM3NzY4MiwiZXhwIjoxNTgzMzgxMjgyfQ.zPOQwZwTg8TUmANCUujBVmCcP0O95Q6n_FZ-WariUJI","type":"text"}],"body":{"mode":"raw","raw":"[\"Cancer-Pain\", \"Energetic\", \"Creative\", \"Tingly\", \"Euphoric\", \"Relaxed\",\"Earthy\", \"Sweet\", \"Citrus\"]","options":{"raw":{"language":"json"}}},"url":"https://med-cab.herokuapp.com/api/users/cannabis/prediction","description":"<p>Retrieve a recommendation based on an array of 1 condition, 5 effects, and 3 flavors.</p>\n","urlObject":{"protocol":"https","path":["api","users","cannabis","prediction"],"host":["med-cab","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d2db695b-6838-4513-9c16-22888100304a"}]}