{"info":{"_postman_id":"0b108ddc-016f-443a-8af3-5f9871654064","name":"Chat-api","description":"<html><head></head><body><p>Happy5 Backend Challenge</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17536229","collectionId":"0b108ddc-016f-443a-8af3-5f9871654064","publishedId":"2s847PJV1y","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-10-20T12:15:57.000Z"},"item":[{"name":"signup","id":"df6a9fc3-2f8e-4ecc-afa6-d41d90d10fc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"user1","type":"text"},{"key":"email","value":"user1@email.com","type":"text"},{"key":"password","value":"password","type":"text"},{"key":"password_confirmation","value":"password","type":"text"}]},"url":"http://127.0.0.1:3000/signup","urlObject":{"protocol":"http","port":"3000","path":["signup"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"df6a9fc3-2f8e-4ecc-afa6-d41d90d10fc4"},{"name":"login","id":"c8a42db9-4776-4643-aca6-73914a9fcf76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"email","value":"user1@email.com","type":"text"},{"key":"password","value":"password","type":"text"}]},"url":"http://127.0.0.1:3000/login","urlObject":{"protocol":"http","port":"3000","path":["login"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8a42db9-4776-4643-aca6-73914a9fcf76"},{"name":"List Contact","id":"2be59731-02ad-488b-87b6-88d19ec6750d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"bearer {{user1}}","type":"text"}],"url":"http://127.0.0.1:3000/contacts","urlObject":{"protocol":"http","port":"3000","path":["contacts"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2be59731-02ad-488b-87b6-88d19ec6750d"},{"name":"show conversation","id":"0777aee6-dc37-4d84-bf08-909117418adf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"bearer {{user1}}","type":"text"}],"url":"http://127.0.0.1:3000/conversations","urlObject":{"protocol":"http","port":"3000","path":["conversations"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"0777aee6-dc37-4d84-bf08-909117418adf"},{"name":"show chats by user id","id":"479ee52b-8492-4c8b-b6b0-6d8e99a14d6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"bearer {{user1}}","type":"text"}],"url":"http://127.0.0.1:3000/conversations/2","urlObject":{"protocol":"http","port":"3000","path":["conversations","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"479ee52b-8492-4c8b-b6b0-6d8e99a14d6f"},{"name":"send chat","id":"39e6bdb9-7bf9-4e41-b8ef-c0a7c9a3bbe2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"bearer {{user1}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"body","value":"this is message from user 1","type":"text"},{"key":"recipient_id","value":"2","type":"text"}]},"url":"http://127.0.0.1:3000/messages","urlObject":{"protocol":"http","port":"3000","path":["messages"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"39e6bdb9-7bf9-4e41-b8ef-c0a7c9a3bbe2"}]}