{"info":{"_postman_id":"fda24700-01a3-4685-aecc-3e2bdc5b8e86","name":"Reservify","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"13085631","collectionId":"fda24700-01a3-4685-aecc-3e2bdc5b8e86","publishedId":"Uz5MEZ6D","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-06-09T09:54:10.000Z"},"item":[{"name":"Auth","item":[{"name":"Signup","id":"bd00f95c-9239-43e9-ac27-8ac21cc5f97e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"user\",\r\n    \"email\": \"user1@gmail.com\",\r\n    \"password\": \"123456\",\r\n    \"confirm_password\": \"1234656\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://reservify-app.herokuapp.com/users","urlObject":{"protocol":"https","path":["users"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd00f95c-9239-43e9-ac27-8ac21cc5f97e"},{"name":"Signin","id":"f6490d02-6f73-4cda-b1bc-521676b44dc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"user1@gmail.com\",\r\n    \"password\": \"123456\",\r\n}"},"url":"https://reservify-app.herokuapp.com/auth/login","urlObject":{"protocol":"https","path":["auth","login"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6490d02-6f73-4cda-b1bc-521676b44dc3"}],"id":"693e57f3-4bf8-4406-b31b-1e3d9c034618","_postman_id":"693e57f3-4bf8-4406-b31b-1e3d9c034618","description":""},{"name":"Hotels","item":[{"name":"Fetch All","id":"9de80c66-bfe4-4307-8835-bcf6700b1d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyLCJleHAiOjE2NTUzNzE3MTZ9.UQ4Ql63rXQNbpZ350KRjZUVrgpceNpMMT5qHEudN5vo","type":"text"}],"url":"https://reservify-app.herokuapp.com/api/v1/hotels","urlObject":{"protocol":"https","path":["api","v1","hotels"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9de80c66-bfe4-4307-8835-bcf6700b1d6d"},{"name":"Fetch One","id":"9023aa9d-3ed9-4168-b63f-414bb7aa138f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyLCJleHAiOjE2NTU0ODc1MjN9.ecY3CLDn0vrmuP581-uCq0RHb3FfSTUpYPoznYpCoic","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"https://reservify-app.herokuapp.com/api/v1/hotels/1","urlObject":{"protocol":"https","path":["api","v1","hotels","1"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9023aa9d-3ed9-4168-b63f-414bb7aa138f"},{"name":"Create One","id":"c004ab25-aedd-4470-b34f-6ec716784795","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxNiwiZXhwIjoxNjU1NzQwMzg2fQ.p8EEbJGiC8xKXKO9fHiMPHtU5Q4-FbQQnKa6LnCELRw","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image_url","type":"file","src":"/C:/Users/DClap/Desktop/me.jfif"},{"key":"id","value":"11","type":"text","disabled":true},{"key":"name","value":"Hotel 10","type":"text","disabled":true},{"key":"address","value":"Address 2","type":"text","disabled":true},{"key":"city","value":"City 2","type":"text","disabled":true},{"key":"country","value":"Egypt","type":"text","disabled":true},{"key":"room_price","value":"20","type":"text","disabled":true},{"key":"pet_friendly","value":"true","type":"text","disabled":true},{"key":"number_of_rooms","value":"11","type":"text","disabled":true},{"key":"stars","value":"4","type":"text","disabled":true},{"key":"current_free_rooms","value":"1","type":"text","disabled":true},{"key":"street","value":"steet 1","type":"text","disabled":true},{"key":"updated_at","value":"2022-06-09T00:36:16.092Z","type":"text","disabled":true},{"key":"user_id","value":"2","type":"text","disabled":true},{"key":"id","value":"10","type":"text"},{"key":"name","value":"Hotel 10","type":"text"},{"key":"address","value":"Address 2","type":"text"},{"key":"city","value":"City 2","type":"text"},{"key":"country","value":"Egypt","type":"text"},{"key":"room_price","value":"20","type":"text"},{"key":"pet_friendly","value":"true","type":"text"},{"key":"number_of_rooms","value":"11","type":"text"},{"key":"stars","value":"4","type":"text"},{"key":"current_free_rooms","value":"1","type":"text"},{"key":"user_id","value":"1","type":"text"}]},"url":"https://reservify-app.herokuapp.com/api/v1/hotels","urlObject":{"protocol":"https","path":["api","v1","hotels"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c004ab25-aedd-4470-b34f-6ec716784795"},{"name":"Delete One","id":"2e854810-998c-4781-926a-d0c72edfa651","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMiwiZXhwIjoxNjU1OTE0NDgzfQ.zumAKaxJTmqH2rErCJv6jPGpvNFBSTbsh5tPLy6uIpM","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://reservify-app.herokuapp.com/api/v1/hotels/10","urlObject":{"protocol":"https","path":["api","v1","hotels","10"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2e854810-998c-4781-926a-d0c72edfa651"}],"id":"d5f9fdcf-44ee-40f4-9302-c39e31f04f13","_postman_id":"d5f9fdcf-44ee-40f4-9302-c39e31f04f13","description":""},{"name":"Reservations","item":[{"name":"Fetch All","id":"f6d074a8-84c0-4e69-9029-ec1c30e04c41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMiwiZXhwIjoxNjU1OTE0NDgzfQ.zumAKaxJTmqH2rErCJv6jPGpvNFBSTbsh5tPLy6uIpM","type":"text"}],"url":"https://reservify-app.herokuapp.com/api/v1/reservations","urlObject":{"protocol":"https","path":["api","v1","reservations"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f6d074a8-84c0-4e69-9029-ec1c30e04c41"},{"name":"Create One","id":"d8c746a1-2646-430f-a337-258996837b2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMiwiZXhwIjoxNjU1OTE0NDgzfQ.zumAKaxJTmqH2rErCJv6jPGpvNFBSTbsh5tPLy6uIpM","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"hotel_id\": 23 ,\r\n    \"room_number\": 7\r\n}","options":{"raw":{"language":"json"}}},"url":"https://reservify-app.herokuapp.com/api/v1/reservations","urlObject":{"protocol":"https","path":["api","v1","reservations"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"d8c746a1-2646-430f-a337-258996837b2b"},{"name":"Delete One","id":"cc753516-8e41-447e-a2ff-7c718fe54e8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMiwiZXhwIjoxNjU1OTE0NDgzfQ.zumAKaxJTmqH2rErCJv6jPGpvNFBSTbsh5tPLy6uIpM","type":"text"}],"url":"https://reservify-app.herokuapp.com/api/v1/reservations/19","urlObject":{"protocol":"https","path":["api","v1","reservations","19"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"cc753516-8e41-447e-a2ff-7c718fe54e8a"}],"id":"269d4dc1-73c2-4371-bcb2-3b1fe43bd1e4","_postman_id":"269d4dc1-73c2-4371-bcb2-3b1fe43bd1e4","description":""},{"name":"Locations","item":[{"name":"Fetch All Countries","id":"8448f999-2876-4d88-b865-eb20f81a3bb0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMiwiZXhwIjoxNjU1OTE0NDgzfQ.zumAKaxJTmqH2rErCJv6jPGpvNFBSTbsh5tPLy6uIpM","type":"text"}],"url":"https://reservify-app.herokuapp.com/api/v1/countries","urlObject":{"protocol":"https","path":["api","v1","countries"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8448f999-2876-4d88-b865-eb20f81a3bb0"},{"name":"Fetch All Cities By Country","id":"39b91008-aba7-438e-a5ee-556980e8b0d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMiwiZXhwIjoxNjU1OTE0NDgzfQ.zumAKaxJTmqH2rErCJv6jPGpvNFBSTbsh5tPLy6uIpM","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"country\": \"Egypt\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://reservify-app.herokuapp.com/api/v1/cities","urlObject":{"protocol":"https","path":["api","v1","cities"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"39b91008-aba7-438e-a5ee-556980e8b0d7"},{"name":"Fetch All Hotels By Location","id":"f43c0fba-2656-408e-981d-b7d409bcc4c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoyMiwiZXhwIjoxNjU1OTE0NDgzfQ.zumAKaxJTmqH2rErCJv6jPGpvNFBSTbsh5tPLy6uIpM","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"country\": \"Egypt\",\r\n    \"city\": \"Aswan\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://reservify-app.herokuapp.com/api/v1/hotelsbylocation","urlObject":{"protocol":"https","path":["api","v1","hotelsbylocation"],"host":["reservify-app","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f43c0fba-2656-408e-981d-b7d409bcc4c2"}],"id":"d4697ce8-cda6-4658-9891-aca869e0acc9","_postman_id":"d4697ce8-cda6-4658-9891-aca869e0acc9","description":""}]}