{"info":{"_postman_id":"444d6925-6579-4dae-9a53-8136c8300f6a","name":"Feelr","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"5400857","collectionId":"444d6925-6579-4dae-9a53-8136c8300f6a","publishedId":"T1Dngxce","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-22T05:17:51.000Z"},"item":[{"name":"https://feelrheroku.herokuapp.com/user/login","id":"72ecb997-252c-4b2e-9e4b-10d29057d8ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"karan@gmail.com\",\r\n    \"password\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://feelrheroku.herokuapp.com/user/login","description":"<p>This endpoint is for logging in.\nIt's a POST request which requires 2 fields:</p>\n<ul>\n<li>email</li>\n<li>password</li>\n</ul>\n<p>You get a message and JWT in return.\nThis can be set in the browser as a Cookie.</p>\n","urlObject":{"protocol":"https","path":["user","login"],"host":["feelrheroku","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"72ecb997-252c-4b2e-9e4b-10d29057d8ca"},{"name":"https://feelrheroku.herokuapp.com/user/signup","id":"022b7713-2dca-4c3a-a0da-51a0bb376e95","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"karan2@gmail.com\",\r\n    \"password\": \"password\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://feelrheroku.herokuapp.com/user/signup","description":"<p>This endpoint is for signing up. This is similar to the login endpoint.</p>\n<p>It's a POST request which requires 2 fields:</p>\n<ul>\n<li>email</li>\n<li>password</li>\n</ul>\n<p>You get a message and JWT in return.\nThis can be set in the browser as a Cookie.</p>\n","urlObject":{"protocol":"https","path":["user","signup"],"host":["feelrheroku","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"022b7713-2dca-4c3a-a0da-51a0bb376e95"},{"name":"https://feelrheroku.herokuapp.com/api/createFeelr","id":"54bf8eeb-a46c-49c2-98c8-b2f6f4ce3431","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-auth-token","type":"text","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZjE3Y2VjMjgyZGVjZTAwMDQzMTRmODYiLCJpYXQiOjE1OTUzOTU5NjV9.V4uQmL6a3i9El1BeBVvtcEQAfM9FHwWJs_7Z2CHVRDU"}],"body":{"mode":"raw","raw":"{\r\n    \"sentence\": \"Favorite destination is\",\r\n    \"blankIndex\": 3,\r\n    \"topic\": \"Curiosity\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://feelrheroku.herokuapp.com/api/createFeelr","description":"<p>This is an endpoint for creating a Feelr.</p>\n<p>It can be accessed via a POST request.</p>\n<p>It takes 3 fields:</p>\n<ul>\n<li>The feelr sentence</li>\n<li>a blankIndex which would specify the index at which the blank would occur in the sentence. The indexing would be done on a word by word basis.</li>\n<li>a topic name</li>\n</ul>\n<p>Also, requires the x-auth-token header set.</p>\n","urlObject":{"protocol":"https","path":["api","createFeelr"],"host":["feelrheroku","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"54bf8eeb-a46c-49c2-98c8-b2f6f4ce3431"},{"name":"https://feelrheroku.herokuapp.com/api/viewTop","id":"73973d18-7a6f-4582-acd5-b77d186f3bd6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZjE3MzVhOTg3YzUyMjJlMWM3NWU0MjciLCJpYXQiOjE1OTUzOTExNDF9.0MYagjKoy1D0-9IhjRjeTnfvXdtexatNOh8oWa3XYgU","type":"text"}],"url":"https://feelrheroku.herokuapp.com/api/viewTop","description":"<p>This gets you all those Feelr which you haven't seen before.</p>\n<p>Also, requires the x-auth-token header set.</p>\n","urlObject":{"protocol":"https","path":["api","viewTop"],"host":["feelrheroku","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"73973d18-7a6f-4582-acd5-b77d186f3bd6"},{"name":"https://feelrheroku.herokuapp.com/api/viewAll","id":"c87df4cb-f0c8-42db-bcb3-d3d3b906bc86","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-auth-token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI1ZjE3Y2VjMjgyZGVjZTAwMDQzMTRmODYiLCJpYXQiOjE1OTUzOTU5NjV9.V4uQmL6a3i9El1BeBVvtcEQAfM9FHwWJs_7Z2CHVRDU","type":"text"}],"url":"https://feelrheroku.herokuapp.com/api/viewAll","description":"<p>This gets you all the Feelr's.\nI created this for ease of testing.</p>\n<p>Also, requires the x-auth-token header set.</p>\n","urlObject":{"protocol":"https","path":["api","viewAll"],"host":["feelrheroku","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"c87df4cb-f0c8-42db-bcb3-d3d3b906bc86"}]}