{"info":{"_postman_id":"d65aa890-5b09-4c70-b6b8-2ab7f0d7c9f9","name":"AddTask","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"20397790","collectionId":"d65aa890-5b09-4c70-b6b8-2ab7f0d7c9f9","publishedId":"UzR1J2S3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-07-20T17:47:08.000Z"},"item":[{"name":"User","item":[{"name":"Get Users","id":"7873d7ac-b7b1-4230-8cd2-cf60fa1367fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/users","urlObject":{"path":["api","v1","users"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7873d7ac-b7b1-4230-8cd2-cf60fa1367fc"},{"name":"Get Current User","id":"12f0596e-b483-41bc-a3a2-17d8e733cd37","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{URL}}/api/v1/users/62b34235e4bca7c0aedb4698","urlObject":{"path":["api","v1","users","62b34235e4bca7c0aedb4698"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"12f0596e-b483-41bc-a3a2-17d8e733cd37"},{"name":"Deactivate Account","id":"e186173f-8146-42bd-8237-924d56cb5e7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[]},"url":"{{URL}}/api/v1/users/deactivateAccount","urlObject":{"path":["api","v1","users","deactivateAccount"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e186173f-8146-42bd-8237-924d56cb5e7c"},{"name":"Update User Data","id":"4bab6300-cb65-4b50-8296-41bf9986b501","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Iqbalmax","type":"text"},{"key":"email","value":"iqbal@example.com","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/kmiqb/Downloads/Downloaded till 23.04.2022/2017-12-18-09-07-48-422.jpg"}]},"url":"{{URL}}/api/v1/users/updateUserData","urlObject":{"path":["api","v1","users","updateUserData"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"4bab6300-cb65-4b50-8296-41bf9986b501"}],"id":"1cef9448-c206-40b4-8b2b-17c8adf5fb63","_postman_id":"1cef9448-c206-40b4-8b2b-17c8adf5fb63","description":""},{"name":"Auth","item":[{"name":"Change Password","event":[{"listen":"test","script":{"id":"e288b870-b398-465d-a869-8d88b448f468","exec":[""],"type":"text/javascript"}}],"id":"c48e8c36-12e1-4e60-bd39-4d20aa181e41","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"id","value":"62b35ec33cb465fe76a8f3bc","type":"text","disabled":true},{"key":"currentPassword","value":"123456789","type":"text"},{"key":"password","value":"12345678","type":"text"},{"key":"passwordConfirm","value":"12345678","type":"text"}]},"url":"{{URL}}/api/v1/users/changePassword","urlObject":{"path":["api","v1","users","changePassword"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c48e8c36-12e1-4e60-bd39-4d20aa181e41"},{"name":"Log In","event":[{"listen":"test","script":{"id":"f650b869-7806-48ec-adef-89fdbf1d219a","exec":["pm.environment.set(\"jwt\", pm.response.json().data.token);"],"type":"text/javascript"}}],"id":"1de3597f-8693-46e6-bfb3-0af64c37b7d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"iqbal@gmail.com\",\r\n    \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{URL}}/api/v1/users/login","urlObject":{"path":["api","v1","users","login"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1de3597f-8693-46e6-bfb3-0af64c37b7d7"},{"name":"Sign Up","event":[{"listen":"test","script":{"id":"b649c3be-de6f-4365-b638-92af2a4d9b3e","exec":["pm.environment.set(\"jwt\", pm.response.json().token);"],"type":"text/javascript"}}],"id":"2c50b6e8-6517-426e-a143-671005754cb9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"urlencoded","urlencoded":[{"key":"name","value":"mou","type":"text"},{"key":"email","value":"mou@example.com","type":"text"},{"key":"password","value":"12345678","type":"text"},{"key":"passwordConfirm","value":"12345678","type":"text"},{"key":"active","value":"false","type":"text","disabled":true}]},"url":"{{URL}}/api/v1/users/signup","urlObject":{"path":["api","v1","users","signup"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2c50b6e8-6517-426e-a143-671005754cb9"}],"id":"8d6e726d-e780-47f1-be0a-47fd716e3607","_postman_id":"8d6e726d-e780-47f1-be0a-47fd716e3607","description":""},{"name":"Task","item":[{"name":"Create Task","id":"e79af55d-dbc2-4ca1-9e62-ed2765838dce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"NEW Cloudinary 2","type":"text"},{"key":"description","value":"Test desc","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/kmiqb/Downloads/Downloaded till 23.04.2022/196619188_2984826531756174_5231181782815165256_n.jpg"}]},"url":"{{URL}}/api/v1/tasks","urlObject":{"path":["api","v1","tasks"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e79af55d-dbc2-4ca1-9e62-ed2765838dce"},{"name":"Get  Tasks","id":"6967d8cd-27b4-492c-b403-bc3a30af0319","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tasks","urlObject":{"path":["api","v1","tasks"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6967d8cd-27b4-492c-b403-bc3a30af0319"},{"name":"Update Task","id":"400e133e-043f-4e8f-a419-66b17e944784","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"taskTitle","value":"UPDATED NEW","type":"text"},{"key":"taskDescription","value":"task desc","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/kmiqb/Downloads/Downloaded till 23.04.2022/82078620_516125982594615_8971639682899116032_n.jpg"}]},"url":"{{URL}}/api/v1/tasks/62bdde3139b2e549a6c48dec","urlObject":{"path":["api","v1","tasks","62bdde3139b2e549a6c48dec"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"400e133e-043f-4e8f-a419-66b17e944784"},{"name":"Delete Task","id":"c792dcf8-82f1-43cc-88b2-0711d491ecb3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"{{URL}}/api/v1/tasks/62bddedc39b2e549a6c48def","urlObject":{"path":["api","v1","tasks","62bddedc39b2e549a6c48def"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"c792dcf8-82f1-43cc-88b2-0711d491ecb3"},{"name":"Get Task","id":"df8318ba-f9e7-4081-ac2e-b66d8e550f09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{URL}}/api/v1/tasks/62b85b2280a1d2726c54b6a3","urlObject":{"path":["api","v1","tasks","62b85b2280a1d2726c54b6a3"],"host":["{{URL}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"df8318ba-f9e7-4081-ac2e-b66d8e550f09"}],"id":"9fe158c2-3161-4067-b4ab-daac48ae3915","_postman_id":"9fe158c2-3161-4067-b4ab-daac48ae3915","description":""},{"name":"After Deploy","item":[{"name":"Login","event":[{"listen":"test","script":{"id":"0695cb6c-1ffd-46c9-983b-3ba4b1809e92","exec":["pm.environment.set(\"jwt\", pm.response.json().data.token);"],"type":"text/javascript"}}],"id":"b6901f1e-9530-4d56-b6b6-93593d055eb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"iqbal1@gmail.com\",\r\n    \"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://add-task-backend.herokuapp.com/api/v1/users/login","urlObject":{"protocol":"https","path":["api","v1","users","login"],"host":["add-task-backend","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6901f1e-9530-4d56-b6b6-93593d055eb8"},{"name":"Add Task","id":"0ea784f7-04b8-4775-ba38-e780cc053ae8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"title","value":"task after cloudinary","type":"text"},{"key":"description","value":"monira","type":"text"},{"key":"photo","type":"file","src":"/C:/Users/kmiqb/Downloads/Downloaded till 23.04.2022/240711290_566014284552001_718623481016276918_n.jpg"}]},"url":"https://add-task-backend.herokuapp.com/api/v1/tasks","urlObject":{"protocol":"https","path":["api","v1","tasks"],"host":["add-task-backend","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ea784f7-04b8-4775-ba38-e780cc053ae8"},{"name":"Delete Task","id":"49f6daf9-3834-4159-ae35-52caf40601c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{jwt}}"}]},"isInherited":false},"method":"DELETE","header":[],"url":"https://add-task-backend.herokuapp.com/api/v1/tasks/62bcce52ed1ea03b3ac94913","urlObject":{"protocol":"https","path":["api","v1","tasks","62bcce52ed1ea03b3ac94913"],"host":["add-task-backend","herokuapp","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"49f6daf9-3834-4159-ae35-52caf40601c7"}],"id":"c6fb93d9-5a6e-46c6-a10f-6d4d572c2bbe","_postman_id":"c6fb93d9-5a6e-46c6-a10f-6d4d572c2bbe","description":""}]}