{"info":{"_postman_id":"76ca0422-0826-45d2-aea5-058dbc8b4625","name":"EchoPostAPI","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"28289943","collectionId":"76ca0422-0826-45d2-aea5-058dbc8b4625","publishedId":"2s9Yynjirx","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-01-23T13:25:07.000Z"},"item":[{"name":"Signup","id":"86136d39-11af-45ea-9e1b-e808e915af72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"codewithalareef","type":"text"},{"key":"email","value":"codewithalareef@gmail.com","type":"text"},{"key":"first_name","value":"Adegbite","type":"text"},{"key":"last_name","value":"Al-Areef","type":"text"},{"key":"password","value":"qwerty","type":"text"}]},"url":"http://127.0.0.1:8000/auth/signup/","urlObject":{"protocol":"http","port":"8000","path":["auth","signup",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"44d11536-f93e-4e6d-80b4-ff2509e2cfd9","name":"Signup-Successful","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"codewithalareef","type":"text"},{"key":"email","value":"codewithalareef@gmail.com","type":"text"},{"key":"first_name","value":"Adegbite","type":"text"},{"key":"last_name","value":"Al-Areef","type":"text"},{"key":"password","value":"qwerty","type":"text"}]},"url":"http://127.0.0.1:8000/auth/signup/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 13:03:57 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"93"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Signup successful!, check your email for the verification code\",\n    \"staus_code\": 201\n}"}],"_postman_id":"86136d39-11af-45ea-9e1b-e808e915af72"},{"name":"Verify-Email","id":"a4f81feb-b3d4-4a53-bca7-6a0ed545b054","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"verification_code","value":"745672","type":"text"}]},"url":"http://127.0.0.1:8000/auth/verify-email/","urlObject":{"protocol":"http","port":"8000","path":["auth","verify-email",""],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[{"id":"fb39dbca-b15b-4619-94d5-fa183047e3a3","name":"Verify-Email-verifivcation successful","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"verification_code","value":"745672","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/auth/verify-email/","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["auth","verify-email",""],"query":[{"key":"","value":null,"type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 13:04:42 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, POST, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"97"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Email verifcation sucessful!, You can now log in into your account\",\n    \"staus_code\": 200\n}"}],"_postman_id":"a4f81feb-b3d4-4a53-bca7-6a0ed545b054"},{"name":"Login","id":"2f919a57-9c42-4afc-93d5-bc87e69a44d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"codewithalareef@gmail.com","type":"text"},{"key":"password","value":"qwerty","type":"text"}]},"url":"http://127.0.0.1:8000/auth/login/","urlObject":{"protocol":"http","port":"8000","path":["auth","login",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"177eef42-058f-4345-a255-3464717de7b2","name":"Login-Login Successful","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"username","value":"codewithalareef@gmail.com","type":"text"},{"key":"password","value":"qwerty","type":"text"}]},"url":"http://127.0.0.1:8000/auth/login/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 13:06:37 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept, Cookie"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"347"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"},{"key":"Set-Cookie","value":"csrftoken=bJTVKPeWwpC6DHmemS62V84vMLxVd1Ou; expires=Tue, 21 Jan 2025 13:06:37 GMT; Max-Age=31449600; Path=/; SameSite=Lax"},{"key":"Set-Cookie","value":"sessionid=resik2qhjm66ndyjkqya13pu8cujx7ay; expires=Tue, 06 Feb 2024 13:06:37 GMT; HttpOnly; Max-Age=1209600; Path=/; SameSite=Lax"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User logged in successfully\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8\",\n    \"status_code\": 200\n}"}],"_postman_id":"2f919a57-9c42-4afc-93d5-bc87e69a44d4"},{"name":"Create-BlogPost","id":"e8ff8819-68f1-4ab1-bd36-608e6e72ffff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"],"src":"/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"},{"key":"title","value":"My coding Life","type":"text"},{"key":"content","value":"I started coding at age 16 after hign school,passionate about lerning","type":"text"}]},"url":"http://127.0.0.1:8000/create-blogpost/","urlObject":{"protocol":"http","port":"8000","path":["create-blogpost",""],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1214741b-b6bc-4287-b89e-b49ef43a2e52","name":"User Account is verifed and blog creation was successful","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NTcxNjYwLCJpYXQiOjE3MDU5NjY4NjAsImp0aSI6ImFkMWJhYjM2MDU3ZjRkMzM5MThiMjg4NjBjODdiMzc4IiwidXNlcl9pZCI6IjFhZTU5ZGRkLTY4MTEtNDVhZC1iMDEyLTVkMDlkYWJkMTUwZiJ9.5ypQRcZ078DBQxlIDCI286sd3YCJXc1Y6j_q96WUqno","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"],"src":"/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"},{"key":"title","value":"My first Blog Post","type":"text"},{"key":"content","value":"Blog1","type":"text"}]},"url":"http://127.0.0.1:8000/create-blogpost/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 09:46:35 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"245"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blog Post successfully created!\",\n    \"title\": \"My first Blog Post\",\n    \"content\": \"Blog1\",\n    \"image\": \"/media/blog_images/4f287ed4-6a6a-4509-9802-fcb93fd17887/Screenshot_from_2024-01-16_16-09-08.png\",\n    \"date\": \"2024-01-23 09:46:35\",\n    \"status_code\": 201\n}"},{"id":"46e0b22b-abd1-4476-a6fd-7eecf14ff072","name":"user account wasn't verified so blog creation failed","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NTcxNjYwLCJpYXQiOjE3MDU5NjY4NjAsImp0aSI6ImFkMWJhYjM2MDU3ZjRkMzM5MThiMjg4NjBjODdiMzc4IiwidXNlcl9pZCI6IjFhZTU5ZGRkLTY4MTEtNDVhZC1iMDEyLTVkMDlkYWJkMTUwZiJ9.5ypQRcZ078DBQxlIDCI286sd3YCJXc1Y6j_q96WUqno","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"],"src":"/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"},{"key":"title","value":"My first Blog Post","type":"text"},{"key":"content","value":"Blog1","type":"text"}]},"url":"http://127.0.0.1:8000/create-blogpost/"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 09:50:00 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"65"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"You need to verify your account to create a blog post\"\n}"},{"id":"3dcede21-37ec-49b7-a42d-e591641ddd97","name":"unauthenticated user trying to create a blog post","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"],"src":"/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"},{"key":"title","value":"My first Blog Post","type":"text"},{"key":"content","value":"Blog1","type":"text"}]},"url":"http://127.0.0.1:8000/create-blogpost/"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 10:01:00 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"WWW-Authenticate","value":"Bearer realm=\"api\""},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"58"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Authentication credentials were not provided.\"\n}"},{"id":"f263e56e-cc94-447a-84a6-02ea7bfdb7c6","name":"Create-BlogPost: Successful","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"],"src":"/home/al-areef/Pictures/Screenshots/Screenshot from 2024-01-16 16-09-08.png"},{"key":"title","value":"My coding Life","type":"text"},{"key":"content","value":"I started coding at age 16 after hign school,passionate about lerning","type":"text"}]},"url":"http://127.0.0.1:8000/create-blogpost/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 13:10:35 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"349"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blog Post successfully created!\",\n    \"title\": \"My coding Life\",\n    \"content\": \"I started coding at age 16 after hign school,passionate about lerning\",\n    \"image\": \"/media/blog_images/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c/Screenshot_from_2024-01-16_16-09-08.png\",\n    \"date\": \"2024-01-23 13:10:34\",\n    \"id\": \"9fca5ffd-b52f-4ce4-8125-f4cf98868d7c\",\n    \"status_code\": 201\n}"}],"_postman_id":"e8ff8819-68f1-4ab1-bd36-608e6e72ffff"},{"name":"View Post","id":"60a39db0-f1bf-40dd-912e-61fd7a8d273c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/post/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c","urlObject":{"protocol":"http","port":"8000","path":["post","9fca5ffd-b52f-4ce4-8125-f4cf98868d7c"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"da7dfe81-c6b8-4bd6-9ba6-812d89fec48a","name":"View Post-With invalid id","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NTcxNjYwLCJpYXQiOjE3MDU5NjY4NjAsImp0aSI6ImFkMWJhYjM2MDU3ZjRkMzM5MThiMjg4NjBjODdiMzc4IiwidXNlcl9pZCI6IjFhZTU5ZGRkLTY4MTEtNDVhZC1iMDEyLTVkMDlkYWJkMTUwZiJ9.5ypQRcZ078DBQxlIDCI286sd3YCJXc1Y6j_q96WUqno","type":"text"}],"url":"http://127.0.0.1:8000/post/8f55553f-52f8-448d-8626-1e28a84f8089"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 12:32:29 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"32"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"Blog post not found\"\n}"},{"id":"d883967c-c727-45eb-bf1e-f3bbf1ab7e18","name":"View Post: SUccessful","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":"http://127.0.0.1:8000/post/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 13:11:01 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"343"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blog post details successfully retrieved\",\n    \"title\": \"My coding Life\",\n    \"content\": \"I started coding at age 16 after hign school,passionate about lerning\",\n    \"image\": \"/media/blog_images/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c/Screenshot_from_2024-01-16_16-09-08.png\",\n    \"username\": \"codewithalareef\",\n    \"date\": \"2024-01-23 13:10:34\",\n    \"status_code\": 200\n}"}],"_postman_id":"60a39db0-f1bf-40dd-912e-61fd7a8d273c"},{"name":"List Posts","id":"3f4bffe3-9aeb-4932-9828-736e164c1bd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"url":"http://127.0.0.1:8000/posts","urlObject":{"protocol":"http","port":"8000","path":["posts"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"a5557d53-8642-4c15-85ea-e92b319edb67","name":"List Posts With wrong token","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNZXNzIiwiZXhwIjoxNzA2NTcxNjYwLCJpYXQiOjE3MDU5NjY4NjAsImp0aSI6ImFkMWJhYjM2MDU3ZjRkMzM5MThiMjg4NjBjODdiMzc4IiwidXNlcl9pZCI6IjFhZTU5ZGRkLTY4MTEtNDVhZC1iMDEyLTVkMDlkYWJkMTUwZiJ9.5ypQRcZ078DBQxlIDCI286sd3YCJXc1Y6j_q96WUqno","type":"text"}],"url":"http://127.0.0.1:8000/posts"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 11:29:45 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"WWW-Authenticate","value":"Bearer realm=\"api\""},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"183"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"detail\": \"Given token not valid for any token type\",\n    \"code\": \"token_not_valid\",\n    \"messages\": [\n        {\n            \"token_class\": \"AccessToken\",\n            \"token_type\": \"access\",\n            \"message\": \"Token is invalid or expired\"\n        }\n    ]\n}"},{"id":"8c8617e3-1c85-4b40-9ce9-29127fa1a03e","name":"Empty Blog","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NTcxNjYwLCJpYXQiOjE3MDU5NjY4NjAsImp0aSI6ImFkMWJhYjM2MDU3ZjRkMzM5MThiMjg4NjBjODdiMzc4IiwidXNlcl9pZCI6IjFhZTU5ZGRkLTY4MTEtNDVhZC1iMDEyLTVkMDlkYWJkMTUwZiJ9.5ypQRcZ078DBQxlIDCI286sd3YCJXc1Y6j_q96WUqno","type":"text"}],"url":"http://127.0.0.1:8000/posts"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 11:40:37 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"32"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"error\": \"No blog posts found\"\n}"},{"id":"0e4af71e-25d1-41ea-b582-6028ace12531","name":"List Posts: Successful","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"url":"http://127.0.0.1:8000/posts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 13:14:27 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"290"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blog posts successfully retrieved\",\n    \"posts\": [\n        {\n            \"title\": \"My coding Life\",\n            \"content\": \"I started coding at age 16 after hign school,passionate about lerning\",\n            \"image\": \"/media/blog_images/2898849f-ff65-4893-b648-6cdfe469966f/Screenshot_from_2024-01-16_16-09-08.png\"\n        }\n    ],\n    \"status_code\": 200\n}"}],"_postman_id":"3f4bffe3-9aeb-4932-9828-736e164c1bd5"},{"name":"Update-BlogPost","id":"115094c0-4cab-4cf7-934b-3d16212847d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"content","value":"i updated this blog post on live stream","type":"text"}]},"url":"http://127.0.0.1:8000/update-post/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c","urlObject":{"protocol":"http","port":"8000","path":["update-post","9fca5ffd-b52f-4ce4-8125-f4cf98868d7c"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"d4987bf2-6612-410f-af98-9f2fa5cd40a6","name":"Update-BlogPost-Successful","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"content","value":"i updated this blog post on live stream","type":"text"}]},"url":"http://127.0.0.1:8000/update-post/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 13:13:21 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"PUT, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"275"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blog post successfully updated!\",\n    \"title\": \"My coding Life\",\n    \"content\": \"i updated this blog post on live stream\",\n    \"image\": \"/media/blog_images/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c/Screenshot_from_2024-01-16_16-09-08.png\",\n    \"date\": \"2024-01-23 13:10:34\",\n    \"status_code\": 200\n}"}],"_postman_id":"115094c0-4cab-4cf7-934b-3d16212847d5"},{"name":"delete blogpost","id":"113500c0-6862-4c69-8e1a-ed03f8238675","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"url":"http://127.0.0.1:8000/delete-post/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c","urlObject":{"protocol":"http","port":"8000","path":["delete-post","9fca5ffd-b52f-4ce4-8125-f4cf98868d7c"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"b1fa184c-af6b-4be5-af96-5fd5032154d0","name":"delete blogpost-successful","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA2NjE5OTk3LCJpYXQiOjE3MDYwMTUxOTcsImp0aSI6ImM0Yzk0MGYxY2MyODQwZTE5ZGJkZDFjNTFlNWZiODQ1IiwidXNlcl9pZCI6ImVlNzYwODI1LTNlODYtNGU1MC1hMzE5LThhMjAyOTdlNTNhNyJ9.fA8EAjSBa9CWvLIumZoDAVhhLzSBaXJcmexwFjAW1V8","type":"text"}],"url":"http://127.0.0.1:8000/delete-post/9fca5ffd-b52f-4ce4-8125-f4cf98868d7c"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 23 Jan 2024 13:14:15 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.10.12"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"DELETE, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"63"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Cross-Origin-Opener-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Blog post successfully deleted!\",\n    \"status_code\": 200\n}"}],"_postman_id":"113500c0-6862-4c69-8e1a-ed03f8238675"}]}