{"info":{"_postman_id":"69063df8-8a6e-4c37-a7b0-f61b1198dbd4","name":"Stash","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"32051329","collectionId":"69063df8-8a6e-4c37-a7b0-f61b1198dbd4","publishedId":"2sAXxMft7a","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-05T13:45:07.000Z"},"item":[{"name":"auth","item":[{"name":"register","id":"aa7be5d1-bfd4-4c75-ad71-7654013d3b5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"firstname\":\"Sachin\",\n    \"lastname\":\"Prasanth\",\n    \"email\":\"sp5790@gmail.com\",\n    \"password\":\"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/register","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"aa7be5d1-bfd4-4c75-ad71-7654013d3b5f"},{"name":"authenticate","id":"3b86f398-0d66-487d-b7b0-f3092c159401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"sp5790@gmail.com\",\n    \"password\":\"12345\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/auth/authenticate","urlObject":{"protocol":"http","port":"8080","path":["api","v1","auth","authenticate"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b86f398-0d66-487d-b7b0-f3092c159401"}],"id":"5c6f3545-4e1a-42be-95ab-1dadc72a2729","_postman_id":"5c6f3545-4e1a-42be-95ab-1dadc72a2729","description":""},{"name":"products","item":[{"name":"save","id":"104f044d-1e78-4a6c-a837-1adc8ddd27d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"productName\": \"Wireless Headphones\",\n  \"productDesc\": \"High-quality wireless over-ear headphones with noise cancellation.\",\n  \"productPrice\": 199,\n  \"productStock\": 50\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/products/save","urlObject":{"protocol":"http","port":"8080","path":["api","v1","products","save"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"104f044d-1e78-4a6c-a837-1adc8ddd27d3"},{"name":"{id}","id":"bd277a22-a5a1-464d-8e02-367d21dc1226","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/v1/products/1","urlObject":{"protocol":"http","port":"8080","path":["api","v1","products","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd277a22-a5a1-464d-8e02-367d21dc1226"},{"name":"{id}","id":"734bae26-0b76-42bc-9f57-408777b0f786","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/v1/products/1","urlObject":{"protocol":"http","port":"8080","path":["api","v1","products","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"734bae26-0b76-42bc-9f57-408777b0f786"},{"name":"{id}","id":"6b7af3fa-c16a-4a9f-914d-587277b86b1c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzcDY3OTBAc3JtaXN0LmVkdS5pbiIsImlhdCI6MTcyODEzNDcwOSwiZXhwIjoxNzI4MTM2MTQ5fQ.7b36Uw_ZsojNReEaW0OIgB3hcA6xmSTLB8W0D5OoM4M"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"productName\": \"Wireless Headphones\",\n  \"productDesc\": \"High-quality wireless over-ear headphones with noise cancellation.\",\n  \"productPrice\": 199,\n  \"productStock\": 50\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/v1/products/2","urlObject":{"path":["api","v1","products","2"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b7af3fa-c16a-4a9f-914d-587277b86b1c"},{"name":"/","id":"46e681f5-c5f1-47db-974a-d0c388b0f695","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:8080/api/v1/products/","urlObject":{"protocol":"http","port":"8080","path":["api","v1","products",""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"46e681f5-c5f1-47db-974a-d0c388b0f695"}],"id":"73bdea8a-74b4-4546-a13a-ca7793b752a5","_postman_id":"73bdea8a-74b4-4546-a13a-ca7793b752a5","description":""}],"variable":[{"key":"TOKEN","value":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJzcDY3OTBAc3JtaXN0LmVkdS5pbiIsImlhdCI6MTcyODEzNDcwOSwiZXhwIjoxNzI4MTM2MTQ5fQ.7b36Uw_ZsojNReEaW0OIgB3hcA6xmSTLB8W0D5OoM4M"}]}