{"info":{"_postman_id":"d5412917-1a25-4193-9be8-d81ce74e6d98","name":"blog-api","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"45790366","collectionId":"d5412917-1a25-4193-9be8-d81ce74e6d98","publishedId":"2sB3dMwW2u","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-02T10:39:33.000Z"},"item":[{"name":"auth","item":[{"name":"Post Request","id":"b0bce4bd-f1eb-468f-8ac0-010bd43ae0d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"username\": \"user1\",\r\n  \"email\": \"user1@example.com\",\r\n  \"password\": \"secret123\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://blog-api-6s99.onrender.com/api/auth/register","urlObject":{"protocol":"https","path":["api","auth","register"],"host":["blog-api-6s99","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0bce4bd-f1eb-468f-8ac0-010bd43ae0d3"},{"name":"Post Request","id":"f5e6b1a6-89f4-409e-aaf7-644893bd90cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"usernameOrEmail\": \"shraddha\",\r\n  \"password\": \"secret123\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://blog-api-6s99.onrender.com/api/auth/login","urlObject":{"protocol":"https","path":["api","auth","login"],"host":["blog-api-6s99","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"f5e6b1a6-89f4-409e-aaf7-644893bd90cb"}],"id":"0bd90f56-e23a-4a34-b061-bdcf66fa417e","_postman_id":"0bd90f56-e23a-4a34-b061-bdcf66fa417e","description":""},{"name":"posts","item":[{"name":"Post Request","id":"0bebe15e-f37f-4b22-ad06-0df20a7704dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"My first post\",\r\n  \"content\": \"This is my first blog post from Postman!\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"https://blog-api-6s99.onrender.com/api/posts","urlObject":{"protocol":"https","path":["api","posts"],"host":["blog-api-6s99","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"0bebe15e-f37f-4b22-ad06-0df20a7704dc"},{"name":"Get Request","id":"50922d37-2126-4b5a-bc1c-8fee87f4e60a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://localhost:4000/api/posts","urlObject":{"protocol":"http","port":"4000","path":["api","posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"50922d37-2126-4b5a-bc1c-8fee87f4e60a"},{"name":"Update Request","id":"55af7af9-d57e-4b7b-9e98-ff991e09668e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"title\": \"My updated first post\",\r\n  \"content\": \"I updated this content.\"\r\n}\r\n","options":{"raw":{"language":"json"}}},"url":"http://localhost:4000/api/posts/692ea597f51ee21953e76b4a","urlObject":{"protocol":"http","port":"4000","path":["api","posts","692ea597f51ee21953e76b4a"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"55af7af9-d57e-4b7b-9e98-ff991e09668e"},{"name":"Delete Request","id":"2161e15c-2c44-440c-90dd-75e78f801177","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:4000/api/posts/692ea597f51ee21953e76b4a","urlObject":{"protocol":"http","port":"4000","path":["api","posts","692ea597f51ee21953e76b4a"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"2161e15c-2c44-440c-90dd-75e78f801177"}],"id":"ccd23589-51de-4773-b32e-0ab7b7fc90e2","_postman_id":"ccd23589-51de-4773-b32e-0ab7b7fc90e2","description":""},{"name":"Get Request","id":"540cbbb5-fc44-46ca-a70e-456104b049fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://blog-api-6s99.onrender.com/","urlObject":{"protocol":"https","path":[""],"host":["blog-api-6s99","onrender","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"540cbbb5-fc44-46ca-a70e-456104b049fb"}]}