{"info":{"_postman_id":"ce36f302-8338-4860-8d7a-b59b7cf54b4c","name":"Heroku FindMyProduct","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"6710798","collectionId":"ce36f302-8338-4860-8d7a-b59b7cf54b4c","publishedId":"SztHZ5zX","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-06-05T01:11:10.000Z"},"item":[{"name":"All Friendships","id":"53406fd6-d677-4a41-a4c1-5601816245c0","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTI3ODcwNDksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MTR9.UoYQ1twiCdhbD8MSkRqjp-sTGb2LgedglWiS47weQ3M","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships","urlObject":{"protocol":"https","path":["api","v1","users","friendships"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"c14f890c-e644-4b8b-8c61-d55223b694a5","name":"All Friendships","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTcyMTksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6Mn0.Qhgl4q-SGHFiuCyHYuTwGz4IxtL6u3nmmt7hTqGBTbk","description":"Sebas","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTc0NzEsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.Gdikuaa1qZF7Di9RzCIPvFtvclymOmhjhH9CE6wEtU0","description":"Hugo","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Fri, 05 Jun 2020 01:04:58 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"1096061ddcedd01a9482c322f0fa7bee\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"247e0517-643d-40f4-92dd-306985a6b9ea"},{"key":"X-Runtime","value":"0.018435"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"friends\": [\n        {\n            \"friendship_id\": 3,\n            \"user_id\": 1,\n            \"username\": \"hugo\"\n        }\n    ],\n    \"inverse_friends\": [],\n    \"pending_friends\": [],\n    \"friend_requests\": []\n}"}],"_postman_id":"53406fd6-d677-4a41-a4c1-5601816245c0"},{"name":"Create Friendship","id":"38eab889-7f16-47cf-b58e-00ef9ad85d86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTI3ODcwNDksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MTR9.UoYQ1twiCdhbD8MSkRqjp-sTGb2LgedglWiS47weQ3M","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"friend_id","value":"1","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships","urlObject":{"protocol":"https","path":["api","v1","users","friendships"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"9160d964-4455-4ae6-8d47-cbda0ac70bed","name":"Create Friendship","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTcyMTksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6Mn0.Qhgl4q-SGHFiuCyHYuTwGz4IxtL6u3nmmt7hTqGBTbk","description":"Sebas","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTc0NzEsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.Gdikuaa1qZF7Di9RzCIPvFtvclymOmhjhH9CE6wEtU0","description":"Hugo","type":"text","disabled":true},{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"friend_id","value":"1","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Fri, 05 Jun 2020 00:53:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"4bf239c12b18cc91c2d3669942f8a8ed\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ddad632d-6f1a-4fcd-a747-77bf8afa3cfd"},{"key":"X-Runtime","value":"0.054849"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"friend request sent\"\n}"},{"id":"9796016b-ae0c-4e86-8b04-74cb72a3e3c8","name":"Create Friendship","originalRequest":{"method":"POST","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTcyMTksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6Mn0.Qhgl4q-SGHFiuCyHYuTwGz4IxtL6u3nmmt7hTqGBTbk","description":"Sebas","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTc0NzEsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.Gdikuaa1qZF7Di9RzCIPvFtvclymOmhjhH9CE6wEtU0","description":"Hugo","type":"text","disabled":true},{"key":"","value":"","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"friend_id","value":"1","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Fri, 05 Jun 2020 00:53:35 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"4bf239c12b18cc91c2d3669942f8a8ed\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"ddad632d-6f1a-4fcd-a747-77bf8afa3cfd"},{"key":"X-Runtime","value":"0.054849"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"friend request sent\"\n}"}],"_postman_id":"38eab889-7f16-47cf-b58e-00ef9ad85d86"},{"name":"Accept friend request","id":"3481638f-6ea9-4f40-a20b-3ce5b61d08d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"warning":"This is a duplicate header and will be overridden by the Content-Type header generated by Postman.","key":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"formdata","formdata":[{"key":"friend_id","value":"2","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships/3","urlObject":{"protocol":"https","path":["api","v1","users","friendships","3"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"361b214e-d246-43ce-9468-ac34dc4beae5","name":"Accept friend request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTcyMTksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6Mn0.Qhgl4q-SGHFiuCyHYuTwGz4IxtL6u3nmmt7hTqGBTbk","description":"Sebas","type":"text","disabled":true},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTc0NzEsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.Gdikuaa1qZF7Di9RzCIPvFtvclymOmhjhH9CE6wEtU0","description":"Hugo","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"friend_id","value":"2","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships/3"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Fri, 05 Jun 2020 00:53:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"aa37972e8d2a85c1acd6e97c34c5beb2\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"f6778386-41ef-4bb3-9f4f-7d9187ab1c2e"},{"key":"X-Runtime","value":"0.026593"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"you are now friends\"\n}"},{"id":"78550b8c-0424-431f-93d3-c20f39ed2ce1","name":"Accept friend request","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTcyMTksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6Mn0.Qhgl4q-SGHFiuCyHYuTwGz4IxtL6u3nmmt7hTqGBTbk","description":"Sebas","type":"text","disabled":true},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTc0NzEsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.Gdikuaa1qZF7Di9RzCIPvFtvclymOmhjhH9CE6wEtU0","description":"Hugo","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"friend_id","value":"2","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships/3"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Fri, 05 Jun 2020 00:53:57 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"aa37972e8d2a85c1acd6e97c34c5beb2\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"f6778386-41ef-4bb3-9f4f-7d9187ab1c2e"},{"key":"X-Runtime","value":"0.026593"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"you are now friends\"\n}"}],"_postman_id":"3481638f-6ea9-4f40-a20b-3ce5b61d08d0"},{"name":"Delete Friendship","id":"153a0f50-fdef-4bb0-9d19-baaef2e1f6e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTI3ODcwNDksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MTR9.UoYQ1twiCdhbD8MSkRqjp-sTGb2LgedglWiS47weQ3M","type":"text"}],"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships/8","urlObject":{"protocol":"https","path":["api","v1","users","friendships","8"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"b832a699-59d5-416e-96f0-151f734643ad","name":"Delete Friendship","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTcyMTksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6Mn0.Qhgl4q-SGHFiuCyHYuTwGz4IxtL6u3nmmt7hTqGBTbk","description":"Sebas","type":"text","disabled":true},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTc0NzEsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.Gdikuaa1qZF7Di9RzCIPvFtvclymOmhjhH9CE6wEtU0","description":"Hugo","type":"text"}],"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/friendships/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Fri, 05 Jun 2020 00:53:27 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"6ce8858499043be8768ac553013a861a\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"87cd00a5-c26d-42ab-8199-ec72ee706af6"},{"key":"X-Runtime","value":"0.019063"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"friendship successfully deleted.\"\n}"}],"_postman_id":"153a0f50-fdef-4bb0-9d19-baaef2e1f6e6"},{"name":"Delete Product from a list","id":"99c5c99a-9174-4546-add7-150bdf58cd2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTIwMzMyMjgsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6NH0.BsG5NHo2K1UaCAcu_aOni9Wkj8FCbcB2q6ncao_a_Mk","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"productname","type":"text"},{"key":"id","value":"ListId","type":"text","disabled":true}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/listproducts/15","urlObject":{"protocol":"https","path":["api","v1","listproducts","15"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"99c5c99a-9174-4546-add7-150bdf58cd2e"},{"name":"Add a product to list","id":"d7d03ad1-3e66-46c8-a481-1c5af46d3a69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTEwNzkyNTgsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.hhnKiH2K_kZST9PHOqVggQo88TJUnUd_PyXLj7me--Q"}],"body":{"mode":"formdata","formdata":[{"key":"name","type":"text","value":"Pepsi"},{"key":"quantity","type":"text","value":"6"},{"key":"id","type":"text","value":"4"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/listproducts/add.json","urlObject":{"protocol":"https","path":["api","v1","listproducts","add.json"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7d03ad1-3e66-46c8-a481-1c5af46d3a69"},{"name":"Update list quantity products","id":"d5e9dfc9-c9c7-4635-a52c-3b661cb390b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTA4ODI3MzgsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.4nKL-iCqt0uxlSuHDWi2cbLxnG1_2eNDWjlcTyWG4HY"}],"body":{"mode":"formdata","formdata":[{"key":"list[name]","type":"text","value":"Lista_El_Mercadito"},{"key":"list[quantity]","value":"2"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/lists/6.json","urlObject":{"protocol":"https","path":["api","v1","lists","6.json"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d5e9dfc9-c9c7-4635-a52c-3b661cb390b1"},{"name":"Mark a product from a list","id":"7279e5b1-bac1-439a-9449-25fb0f94b12b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTIwMzMyMjgsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6NH0.BsG5NHo2K1UaCAcu_aOni9Wkj8FCbcB2q6ncao_a_Mk","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"productname","type":"text"},{"key":"id","value":"ListId","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/listproducts/check","urlObject":{"protocol":"https","path":["api","v1","listproducts","check"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7279e5b1-bac1-439a-9449-25fb0f94b12b"},{"name":"Obtain the products of a list","id":"353925fe-4adb-4993-b2a0-82193fa0d028","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://findmyproduct-api.herokuapp.com/api/v1/listproducts/1","urlObject":{"protocol":"https","path":["api","v1","listproducts","1"],"host":["findmyproduct-api","herokuapp","com"],"query":[{"disabled":true,"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"353925fe-4adb-4993-b2a0-82193fa0d028"},{"name":"Obtain lists","id":"76430b0c-da5e-4e36-b45f-72a2c3cec362","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://findmyproduct-api.herokuapp.com/api/v1/lists","urlObject":{"protocol":"https","path":["api","v1","lists"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"76430b0c-da5e-4e36-b45f-72a2c3cec362"},{"name":"Create a list","id":"191d3616-4e0c-4897-96db-ed78add034dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTA4MTI3NzcsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MX0.KRfgJPyYSupXmhNFD0kXFrtv9JvIhL5fNrGkmmVLiB8"}],"body":{"mode":"formdata","formdata":[{"key":"list[name]","type":"text","value":"Lista_Mayo"},{"key":"list[quantity]","type":"text","value":"1"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/lists.json","urlObject":{"protocol":"https","path":["api","v1","lists.json"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"191d3616-4e0c-4897-96db-ed78add034dd"},{"name":"Update a list's name","id":"db77531d-478a-4108-997a-bd7016c19f90","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTIwMzMyMjgsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6NH0.BsG5NHo2K1UaCAcu_aOni9Wkj8FCbcB2q6ncao_a_Mk","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"list[name]","value":"Lista_Pricemart"}]},"url":"http://localhost:3000/api/v1/news?search=nintendo switch","urlObject":{"protocol":"http","port":"3000","path":["api","v1","news"],"host":["localhost"],"query":[{"disabled":true,"key":"origin","value":"New York Times"},{"key":"search","value":"nintendo switch"}],"variable":[]}},"response":[],"_postman_id":"db77531d-478a-4108-997a-bd7016c19f90"},{"name":"Obtain the products of a list","id":"b60dd736-b40c-486d-9bf4-ffb21856c31f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"","type":"text"}],"url":"https://findmyproduct-api.herokuapp.com/api/v1/lists/4/products","urlObject":{"protocol":"https","path":["api","v1","lists","4","products"],"host":["findmyproduct-api","herokuapp","com"],"query":[{"disabled":true,"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"b60dd736-b40c-486d-9bf4-ffb21856c31f"},{"name":"Show users from a list","id":"18ea7d10-2326-4f14-88c5-194c24e55782","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTM5NDEyNDMsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6NH0.lQdKHzrTFW6qrzdnbW8EF3thWyNHFm3ZBaE392bbHig","type":"text"}],"url":"https://findmyproduct-api.herokuapp.com/api/v1/lists/4/users","urlObject":{"protocol":"https","path":["api","v1","lists","4","users"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"18ea7d10-2326-4f14-88c5-194c24e55782"},{"name":"Delete a list","id":"d6f7362d-74d5-4713-9a74-efc9c657df5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://findmyproduct-api.herokuapp.com/api/v1/lists/1","urlObject":{"protocol":"https","path":["api","v1","lists","1"],"host":["findmyproduct-api","herokuapp","com"],"query":[{"disabled":true,"key":"id","value":""}],"variable":[]}},"response":[],"_postman_id":"d6f7362d-74d5-4713-9a74-efc9c657df5f"},{"name":"Delete an user from a list","id":"08807b0b-c0e6-45c8-a23e-9512adeb6ea2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTIwMzMyMjgsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6NH0.BsG5NHo2K1UaCAcu_aOni9Wkj8FCbcB2q6ncao_a_Mk","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"list_name","type":"text"},{"key":"id","value":"user_id","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/listusers/5","urlObject":{"protocol":"https","path":["api","v1","listusers","5"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"08807b0b-c0e6-45c8-a23e-9512adeb6ea2"},{"name":"Add an user to a list","id":"f7fcc37c-5e99-4efd-871a-6eda014603e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTIwMzMyMjgsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6NH0.BsG5NHo2K1UaCAcu_aOni9Wkj8FCbcB2q6ncao_a_Mk","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"list_name","type":"text"},{"key":"id","value":"user_id","type":"text"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/listusers/add","urlObject":{"protocol":"https","path":["api","v1","listusers","add"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f7fcc37c-5e99-4efd-871a-6eda014603e0"},{"name":"All products","id":"bdb34b6d-8155-4bed-a02a-5e4d9ca63b33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://findmyproduct-api.herokuapp.com/api/v1/products","urlObject":{"protocol":"https","path":["api","v1","products"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bdb34b6d-8155-4bed-a02a-5e4d9ca63b33"},{"name":"Search a product","id":"39a781cd-6231-43a7-859e-fb8f9ae02134","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTM5MjQwMzcsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6NH0.JvKWAYLnBAJzD_F8ez1ieDES6UynrQBZfDtbeIsJwqQ","type":"text"}],"url":"https://findmyproduct-api.herokuapp.com/api/v1/products/search?filter=name","urlObject":{"protocol":"https","path":["api","v1","products","search"],"host":["findmyproduct-api","herokuapp","com"],"query":[{"key":"filter","value":"name"}],"variable":[]}},"response":[],"_postman_id":"39a781cd-6231-43a7-859e-fb8f9ae02134"},{"name":"Show one product","id":"d10172d0-9cf7-4b93-ab5b-e29c91d50441","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://findmyproduct-api.herokuapp.com/api/v1/products/1","urlObject":{"protocol":"https","path":["api","v1","products","1"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d10172d0-9cf7-4b93-ab5b-e29c91d50441"},{"name":"All Users","id":"ddbe450d-f367-4ee7-9e89-8f3287348c78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTI3ODcwNDksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6MTR9.UoYQ1twiCdhbD8MSkRqjp-sTGb2LgedglWiS47weQ3M","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users","urlObject":{"protocol":"https","path":["api","v1","users"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[{"id":"52069f74-fea0-4510-8e99-cdb4120debdf","name":"All Users","originalRequest":{"method":"GET","header":[{"key":"Content-Type","type":"text","value":"application/json"},{"description":"Sebas","key":"Authorization","type":"text","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTE4NTY1NjksImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6Mn0.pip4jPARyjqC-elB6zSMNlmgCXRz_9mXAufLLuQSw34"}],"body":{"mode":"formdata","formdata":[]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"Cowboy"},{"key":"Date","value":"Fri, 05 Jun 2020 01:05:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-Xss-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Download-Options","value":"noopen"},{"key":"X-Permitted-Cross-Domain-Policies","value":"none"},{"key":"Referrer-Policy","value":"strict-origin-when-cross-origin"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Etag","value":"W/\"159d8f9deb527663ede163e65d51a23c\""},{"key":"Cache-Control","value":"max-age=0, private, must-revalidate"},{"key":"X-Request-Id","value":"2d119964-5452-4b7d-b35f-16b4753744b8"},{"key":"X-Runtime","value":"0.010027"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Via","value":"1.1 vegur"}],"cookie":[],"responseTime":null,"body":"{\n    \"users\": [\n        {\n            \"id\": 1,\n            \"username\": \"hugo\",\n            \"email\": \"Hugo@gmail.com\",\n            \"phone\": \"22253630\"\n        },\n        {\n            \"id\": 2,\n            \"username\": \"Sebas\",\n            \"email\": \"Sebas@gmail.com\",\n            \"phone\": \"22245634\"\n        },\n        {\n            \"id\": 3,\n            \"username\": \"Ernesto\",\n            \"email\": \"Neto@gmail.com\",\n            \"phone\": \"22245435\"\n        }\n    ]\n}"}],"_postman_id":"ddbe450d-f367-4ee7-9e89-8f3287348c78"},{"name":"Create User","id":"97585228-e958-4d91-a471-f65af31fbfd1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"equals":true,"key":"user[username]","type":"text","value":"example@email.com"},{"key":"user[password]","value":"password"},{"key":"user[email]","value":"Email"},{"key":"user[email]","value":"Phone"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users","urlObject":{"protocol":"https","path":["api","v1","users"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"97585228-e958-4d91-a471-f65af31fbfd1"},{"name":"Search a user","id":"5d5be720-d4f6-41ca-83ea-d9ebcfbf966c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1OTI3ODYxNzgsImlzcyI6Imlzc3Vlcl9uYW1lIiwiYXVkIjoiY2xpZW50IiwidXNlcl9pZCI6NH0.ZrrpdRoZdLy3bqg73HrhzJh2A5_Q5oqE8wUXqouTus8"}],"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/search?filter=username","urlObject":{"protocol":"https","path":["api","v1","users","search"],"host":["findmyproduct-api","herokuapp","com"],"query":[{"key":"filter","value":"username"}],"variable":[]}},"response":[],"_postman_id":"5d5be720-d4f6-41ca-83ea-d9ebcfbf966c"},{"name":"Login","id":"ea52729a-62e3-4747-b565-0e89fa31d499","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"equals":true,"key":"email","type":"text","value":"example@email.com"},{"equals":true,"key":"password","type":"text","value":"pass"}]},"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/login","urlObject":{"protocol":"https","path":["api","v1","users","login"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"ea52729a-62e3-4747-b565-0e89fa31d499"},{"name":"Get the lists from an user","id":"46254903-04af-4cd4-873e-d52094b3a195","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://findmyproduct-api.herokuapp.com/api/v1/users/1/lists.json","urlObject":{"protocol":"https","path":["api","v1","users","1","lists.json"],"host":["findmyproduct-api","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"46254903-04af-4cd4-873e-d52094b3a195"}]}