{"info":{"_postman_id":"e2e6938a-ee1b-46a5-ba9b-eab843fc89ad","name":"User-profile-management","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"17480705","collectionId":"e2e6938a-ee1b-46a5-ba9b-eab843fc89ad","publishedId":"UVJeFbu1","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-12-01T06:11:40.000Z"},"item":[{"name":"User Operation","item":[{"name":"Singup","id":"d009f55c-cd67-453d-b754-dc1217e96577","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"abc\",\r\n    \"password\":\"abc123\",\r\n    \"firstname\":\"abc\",\r\n    \"lastname\":\"abcd\",\r\n    \"email\":\"abc@gmail.com\",\r\n    \"gender\":\"male\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/users/singup","urlObject":{"protocol":"http","port":"5000","path":["users","singup"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d009f55c-cd67-453d-b754-dc1217e96577"},{"name":"Login","id":"4163699a-0902-48ae-9af8-41d51ba900e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"abc\",\r\n    \"password\":\"abc123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/users/login","urlObject":{"protocol":"http","port":"5000","path":["users","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"4163699a-0902-48ae-9af8-41d51ba900e1"}],"id":"5534d88d-78c0-46de-9119-4ef96c98362b","_postman_id":"5534d88d-78c0-46de-9119-4ef96c98362b","description":""},{"name":"Profile","item":[{"name":"Get Profile","id":"f324cf1d-0c3a-4708-815e-ab5c8b314136","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:5000/profile","description":"<h1 id=\"you-can-get-the-profile-details\">you can get the profile details</h1>\n<h1 id=\"make-sure-that-you-need-to-provide-the-token-in-header\">make sure that you need to provide the token in header</h1>\n","urlObject":{"protocol":"http","port":"5000","path":["profile"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f324cf1d-0c3a-4708-815e-ab5c8b314136"},{"name":"Edit Profile","id":"a34a0779-74fb-4ab5-8373-88bb28f9bfc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\":\"abc\",\r\n    \"firstname\":\"abc your\",\r\n    \"lastname\":\"abcd\",\r\n    \"email\":\"abc@gmail.com\",\r\n    \"gender\":\"male\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:5000/profile","description":"<h1 id=\"edit-the-profile\">edit the profile</h1>\n<h1 id=\"you-need-provide-token-in-header\">you need provide token in header</h1>\n<h1 id=\"in-the-body-of-the-request-provide-the-json-file-with-updates\">in the body of the request provide the json file with updates</h1>\n<h1 id=\"note-that-the-password-can-not-update\">note that the password can not update</h1>\n","urlObject":{"protocol":"http","port":"5000","path":["profile"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a34a0779-74fb-4ab5-8373-88bb28f9bfc7"},{"name":"delete User profile","id":"d61747bb-7754-48f9-a61c-c179a94219e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:5000/profile","description":"<h2 id=\"in-this-end-point-the-user-profile-is-delete\">in this end-point the user profile is delete</h2>\n<h1 id=\"1-you-need-to-provide-the-token-in-header\">1. you need to provide the token in header</h1>\n<h1 id=\"2-nothing-in-the-body-of-the-request\">2. nothing in the body of the request</h1>\n","urlObject":{"protocol":"http","port":"5000","path":["profile"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"d61747bb-7754-48f9-a61c-c179a94219e3"}],"id":"59f4f0c6-34ac-4283-8c08-8d681b246d11","description":"<h1 id=\"these-are-operation-on-the-profile-in--profile-end-point\">these are operation on the profile in  \"/profile\" end-point</h1>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"3ad5a269-88c2-43ca-a4e3-eb0ea3e65826"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"d5632d88-d6a0-4c84-9bc8-12043e107b14"}}],"_postman_id":"59f4f0c6-34ac-4283-8c08-8d681b246d11"}]}