{"info":{"_postman_id":"cbfe6417-e4bb-4ac0-838b-a3226806fc17","name":"CashieAppAPI","description":"<html><head></head><body><p>This is the API for the Cashie Ecommerce Point of Sale Application</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15378956","collectionId":"cbfe6417-e4bb-4ac0-838b-a3226806fc17","publishedId":"TzefC4FZ","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"e6e6e6","highlight":"5469D4"},"publishDate":"2021-06-29T06:27:40.000Z"},"item":[{"name":"Categories","item":[{"name":"Get Categories","id":"4b7a2794-a49e-4b4e-b901-3b9905db0570","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/categories","description":"<p>Fetch all categories from the database</p>\n","urlObject":{"path":["v1","categories"],"host":["{{URL}}api"],"query":[{"disabled":true,"key":"select","value":"name"}],"variable":[]}},"response":[],"_postman_id":"4b7a2794-a49e-4b4e-b901-3b9905db0570"},{"name":"Create Category","id":"25af1af6-4244-403b-9da8-141af7d68f7d","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Soft Drink\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/categories","description":"<p>Add new category to the database</p>\n","urlObject":{"path":["v1","categories"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"25af1af6-4244-403b-9da8-141af7d68f7d"},{"name":"Update Category","id":"dc66427e-f0b2-42fa-a59d-6f9363618693","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Alcohol\"\n}"},"url":"{{URL}}api/v1/categories/60d188f57be78c1c259e9b5e","description":"<p>Update category in the database using the id</p>\n","urlObject":{"path":["v1","categories","60d188f57be78c1c259e9b5e"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"dc66427e-f0b2-42fa-a59d-6f9363618693"},{"name":"Delete Category","id":"7fd1d6d2-0bdb-41bf-a4b8-7a8c2d7f7733","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"url":"{{URL}}api/v1/categories/60d188ef7be78c1c259e9b5d","description":"<p>Delete a single category from the data base</p>\n","urlObject":{"path":["v1","categories","60d188ef7be78c1c259e9b5d"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"7fd1d6d2-0bdb-41bf-a4b8-7a8c2d7f7733"},{"name":"Get Single Category","id":"c07e29f6-829f-453a-b731-cdae15a77c47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"url":"{{URL}}api/v1/categories/60d188f57be78c1c259e9b5e","description":"<p>Fetch a single category from database</p>\n","urlObject":{"path":["v1","categories","60d188f57be78c1c259e9b5e"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"c07e29f6-829f-453a-b731-cdae15a77c47"}],"id":"f7594c11-f6ac-48d4-8a19-3df214e63cef","description":"<p>Category CRUD functionalities.</p>\n","event":[{"listen":"prerequest","script":{"id":"c855f155-668c-470b-af41-a1633b943d9f","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"d123951b-6ec4-4e13-bf4c-1e356da1963b","type":"text/javascript","exec":[""]}}],"_postman_id":"f7594c11-f6ac-48d4-8a19-3df214e63cef"},{"name":"Products","item":[{"name":"Create Product","id":"db822593-b979-43dd-b3c1-9f5a872d1297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Dark Fantasy\",\n    \"description\":\"The best cookie ever made\",\n    \"price\":50\n}"},"url":"{{URL}}api/v1/products/","description":"<p>Add product to the database</p>\n","urlObject":{"path":["v1","products",""],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"db822593-b979-43dd-b3c1-9f5a872d1297"},{"name":"Get Products","id":"179361ec-b319-43dd-847d-9c5f5492b997","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/products/","description":"<p>Fetch all products from the database</p>\n","urlObject":{"path":["v1","products",""],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"179361ec-b319-43dd-847d-9c5f5492b997"},{"name":"Update Product","id":"02e219b7-fdcd-492c-9d54-45e245bc25fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"description\":\"I lied, tomatoe is not needed\"\n}"},"url":"{{URL}}api/v1/products/60d2ed6acce32936ee8415d9","description":"<p>Updates products in the database</p>\n","urlObject":{"path":["v1","products","60d2ed6acce32936ee8415d9"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"02e219b7-fdcd-492c-9d54-45e245bc25fc"},{"name":"Delete Product","id":"6a28a6ab-a09f-4eaf-bf09-4af908bac1b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"description\":\"I lied, tomatoe is not needed\"\n}"},"url":"{{URL}}api/v1/products/60d2f0d78811a13a1f8295a5","description":"<p>Delete a single product from database</p>\n","urlObject":{"path":["v1","products","60d2f0d78811a13a1f8295a5"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a28a6ab-a09f-4eaf-bf09-4af908bac1b2"},{"name":"Get a Single Product","id":"0f801ac9-db47-49b1-b817-75e599c6b155","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/products/60d2ecbdcce32936ee8415d5","description":"<p>Fetch a single product from the database</p>\n","urlObject":{"path":["v1","products","60d2ecbdcce32936ee8415d5"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"0f801ac9-db47-49b1-b817-75e599c6b155"}],"id":"701e410a-1d11-4bb4-98f9-285a0c9fb589","description":"<p>Products CRUD functionalities.</p>\n","event":[{"listen":"prerequest","script":{"id":"df411f3c-305e-468d-8065-424c2ee19ec0","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ae1e1530-b1cf-4ca3-b262-10e98292e508","type":"text/javascript","exec":[""]}}],"_postman_id":"701e410a-1d11-4bb4-98f9-285a0c9fb589"},{"name":"Settings","item":[{"name":"Get All Setting","id":"f25c73f9-ca00-4419-971c-5de7c90e2eb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/settings","description":"<p>Fetch all setting from database</p>\n","urlObject":{"path":["v1","settings"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"f25c73f9-ca00-4419-971c-5de7c90e2eb3"},{"name":"Create Setting","id":"404f2123-f3dd-4b11-a903-b8f65efc2a5f","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Gucci\",\n    \"discount\":20,\n     \"tax\":10\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/settings","description":"<p>Add a new setting to the database</p>\n","urlObject":{"path":["v1","settings"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"404f2123-f3dd-4b11-a903-b8f65efc2a5f"},{"name":"Update Setting","id":"3daab0a6-9760-4ec8-a403-8fda4414cc9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"MacDonalds\"\n}"},"url":"{{URL}}api/v1/settings/60d44c4731bd7b2ee666a83b","description":"<p>Update setting in database</p>\n","urlObject":{"path":["v1","settings","60d44c4731bd7b2ee666a83b"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"3daab0a6-9760-4ec8-a403-8fda4414cc9e"}],"id":"9aa89ff8-c878-48da-b584-f1d963484b04","description":"<p>CRUD functionalities for the Settings</p>\n","_postman_id":"9aa89ff8-c878-48da-b584-f1d963484b04"},{"name":"Transaction","item":[{"name":"Create Transaction","id":"8a73fb95-8fba-4f11-923b-d66379459a65","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"products\":[ \"Maaza\", \"tomatoes\", \"coca cola\" ],\n    \"subtotal\":75,\n    \"discount\":30,\n    \"tax\": 20,\n    \"grandtotal\":200\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/transactions","description":"<p>Add transaction to the database</p>\n","urlObject":{"path":["v1","transactions"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a73fb95-8fba-4f11-923b-d66379459a65"},{"name":"Get All Transactions","id":"603520c1-7aba-45ae-9103-aa42715135f4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/transactions","description":"<p>Fetch All Transactions from Database</p>\n","urlObject":{"path":["v1","transactions"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"603520c1-7aba-45ae-9103-aa42715135f4"},{"name":"Update Transaction","id":"34479375-f82a-4ca6-aa73-2476459e03d0","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"discount\":50\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/transactions/60d5dfbd736520252cccc1b5","description":"<p>Update transaction from database</p>\n","urlObject":{"path":["v1","transactions","60d5dfbd736520252cccc1b5"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"34479375-f82a-4ca6-aa73-2476459e03d0"},{"name":"Get Single Transaction","id":"386a1901-8146-45cc-b2df-b0611287746b","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/transactions/60d5dfbd736520252cccc1b5","description":"<p>Fetch a single transaction from Database</p>\n","urlObject":{"path":["v1","transactions","60d5dfbd736520252cccc1b5"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"386a1901-8146-45cc-b2df-b0611287746b"},{"name":"Delete Transaction","id":"bf9c4abd-4ebd-4997-9fe0-dc0f6b0669d5","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/transactions/60d5dfbd736520252cccc1b5","description":"<p>Remove a transaction from Database</p>\n","urlObject":{"path":["v1","transactions","60d5dfbd736520252cccc1b5"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bf9c4abd-4ebd-4997-9fe0-dc0f6b0669d5"},{"name":"Accept Payment","id":"b5896e16-98c4-4c7e-8b87-9eca00b0ecb9","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{   \n    \"description\": \"Total Acceptable Payment\",\n    \"price\":200\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/transactions/payments","description":"<p>Process payment using the stripe API</p>\n","urlObject":{"path":["v1","transactions","payments"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5896e16-98c4-4c7e-8b87-9eca00b0ecb9"}],"id":"7ceeaa3e-43a2-4a1b-b477-0a38984c4d28","description":"<p>CRUD functionalities for transactions</p>\n","_postman_id":"7ceeaa3e-43a2-4a1b-b477-0a38984c4d28"},{"name":"User","item":[{"name":"Create User","id":"1296f8f8-7e2c-4393-8fc5-e67399acf168","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"Moh\", \n    \"email\":\"mohsalah@gmail.com\",\n    \"role\":\"cashier\",\n    \"password\":123456\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users","description":"<p>Add user to the database</p>\n","urlObject":{"path":["v1","users"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"1296f8f8-7e2c-4393-8fc5-e67399acf168"},{"name":"Get All Users","id":"8b158440-a65d-4deb-b213-1c903e143838","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/users","description":"<p>Fetch all users from the database</p>\n","urlObject":{"path":["v1","users"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b158440-a65d-4deb-b213-1c903e143838"},{"name":"Update User","id":"e98ea72f-81d4-440c-a818-9251bfc8fbf4","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"PUT","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"role\":\"cashier\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/users/60d700a78c8b9c20513ad822","description":"<p>Update user information in database</p>\n","urlObject":{"path":["v1","users","60d700a78c8b9c20513ad822"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"e98ea72f-81d4-440c-a818-9251bfc8fbf4"},{"name":"Get Single User","id":"147f824a-db29-4a12-9122-21e85342d9b1","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"url":"{{URL}}api/v1/users//60d700d78c8b9c20513ad824","description":"<p>Fetch single user from the database</p>\n","urlObject":{"path":["v1","users","","60d700d78c8b9c20513ad824"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"147f824a-db29-4a12-9122-21e85342d9b1"},{"name":"Delete User","id":"40324c0d-c5c2-45dd-914f-b242cf3e1d3c","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}api/v1/users/60d7004c8c8b9c20513ad821","description":"<p>Delete User from the database</p>\n","urlObject":{"path":["v1","users","60d7004c8c8b9c20513ad821"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"40324c0d-c5c2-45dd-914f-b242cf3e1d3c"}],"id":"ea771bd6-074f-4443-823a-2122d70bb3c2","_postman_id":"ea771bd6-074f-4443-823a-2122d70bb3c2","description":""},{"name":"Auth","item":[{"name":"Register User","event":[{"listen":"test","script":{"id":"f718a974-6f5f-4d1d-9f9d-e71f0be3aa04","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"bee9dd9a-0011-4571-b8b0-69ea0538f62f","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\":\"bossu\", \n    \"email\":\"bossu@gmail.com\",\n    \"role\":\"admin\",\n    \"password\":\"abcdef\"\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}api/v1/auth/register","description":"<p>Register a user into the database</p>\n","urlObject":{"path":["v1","auth","register"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"bee9dd9a-0011-4571-b8b0-69ea0538f62f"},{"name":"Login User","event":[{"listen":"test","script":{"id":"9b530141-ebdb-42be-b9a4-59375a6f1da4","exec":["pm.environment.set(\"TOKEN\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"45551c6d-725c-4d08-a511-1aa87974144b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"bossu@gmail.com\",\n    \"password\":\"abcdef\"\n}"},"url":"{{URL}}api/v1/auth/login","description":"<p>Login in User to the web application</p>\n","urlObject":{"path":["v1","auth","login"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"45551c6d-725c-4d08-a511-1aa87974144b"},{"name":"Get Logged In User via Token","id":"d84fa598-3f6f-477d-9a66-c8353b99f59c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{TOKEN}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}api/v1/auth/me","description":"<p>Fetch current logged in user details from database</p>\n","urlObject":{"path":["v1","auth","me"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"d84fa598-3f6f-477d-9a66-c8353b99f59c"},{"name":"Log Out User","event":[{"listen":"test","script":{"id":"f718a974-6f5f-4d1d-9f9d-e71f0be3aa04","exec":[""],"type":"text/javascript"}}],"id":"005f8a81-14f5-4054-92bc-1d832310e147","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"content-type":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Content-Type","value":"application/json","description":"<p>JSON</p>\n","type":"text"}],"url":"{{URL}}api/v1/auth/logout","description":"<p>Clear cookie and log out user</p>\n","urlObject":{"path":["v1","auth","logout"],"host":["{{URL}}api"],"query":[],"variable":[]}},"response":[],"_postman_id":"005f8a81-14f5-4054-92bc-1d832310e147"}],"id":"17358dfb-57fe-4a15-8aea-d94982b97661","description":"<p>Authentication and  Protection  functionalities </p>\n","_postman_id":"17358dfb-57fe-4a15-8aea-d94982b97661"}]}