{"info":{"_postman_id":"565e0fba-bf60-46fe-822e-3ffb1591b152","name":"CQRS / ES","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"14693906","collectionId":"565e0fba-bf60-46fe-822e-3ffb1591b152","publishedId":"TzCFhqn8","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-03-23T16:19:14.000Z"},"item":[{"name":"localhost:8080/","id":"a829a3dc-5263-42ae-910d-feb1c26da5c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8080/","description":"<p>Get a healthcheck</p>\n","urlObject":{"port":"8080","path":[""],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a829a3dc-5263-42ae-910d-feb1c26da5c3"},{"name":"localhost:8080/login","id":"e134a7fd-df73-4081-a1b0-a2967e4d9000","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"myou@gmail.com\",\n    \"password\":\"password\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/login","description":"<p>Connect with a created user</p>\n","urlObject":{"port":"8080","path":["login"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"e134a7fd-df73-4081-a1b0-a2967e4d9000"},{"name":"localhost:8080/users","id":"359cf0b5-e650-4ba2-a107-df34e614fa9b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"Nickname\": \"CharlieP\",\n\t\"Email\": \"charliep@gmail.com\",\n\t\"Password\": \"charlieppassword\"\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/users","description":"<p>Create a user</p>\n","urlObject":{"port":"8080","path":["users"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"359cf0b5-e650-4ba2-a107-df34e614fa9b"},{"name":"localhost:8080/posts","id":"b874f46d-965d-4d03-8d89-8c0e8a4e2514","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8080/posts","description":"<p>Get all posts</p>\n","urlObject":{"port":"8080","path":["posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b874f46d-965d-4d03-8d89-8c0e8a4e2514"},{"name":"localhost:8080/posts","id":"601f8935-f5a4-4bbc-a33f-e304e13365a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"localhost:8080/posts/:id","description":"<p>Get one post</p>\n","urlObject":{"port":"8080","path":["posts",":id"],"host":["localhost"],"query":[],"variable":[{"id":"d67d1d5e-350f-4952-bdb7-cc0b2b9252e2","type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"601f8935-f5a4-4bbc-a33f-e304e13365a6"},{"name":"localhost:8080/posts","id":"7922908c-2785-44cd-9d34-e54098e60ab9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}],"advancedConfig":[{"key":"password","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRob3JpemVkIjp0cnVlLCJleHAiOjE2MTY0OTkwMzUsInVzZXJfaWQiOjJ9.Eip1L0vQYit82kb_Muz40yU_MyZ4bDU_pFGB3SrHpKE"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"Title\": \"testTitle\",\n    \"Content\": \"testContent\",\n    \"author_id\": 2\n}","options":{"raw":{"language":"json"}}},"url":"localhost:8080/posts","description":"<p>Create a post</p>\n","urlObject":{"port":"8080","path":["posts"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"7922908c-2785-44cd-9d34-e54098e60ab9"},{"name":"localhost:8080/posts/2","id":"f496b4fb-d287-42b0-9736-ab518883e5e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"localhost:8080/posts/2","description":"<p>Delete a post</p>\n","urlObject":{"port":"8080","path":["posts","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"f496b4fb-d287-42b0-9736-ab518883e5e3"}],"variable":[{"key":"Token","value":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdXRob3JpemVkIjp0cnVlLCJleHAiOjE2MTY0OTkwMzUsInVzZXJfaWQiOjJ9.Eip1L0vQYit82kb_Muz40yU_MyZ4bDU_pFGB3SrHpKE"}]}