{"info":{"_postman_id":"031072b2-35fc-43e7-85b5-fc320363f18e","name":"blog-level3","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"20373378","collectionId":"031072b2-35fc-43e7-85b5-fc320363f18e","publishedId":"2s93zFXKTV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-07-06T10:57:47.000Z"},"item":[{"name":"signup Admin","id":"f60d0f9e-2364-4d01-b66e-89290432198f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"admin123\",\r\n    \"password\": \"abc12345!\",\r\n    \"admin\": \"true\",\r\n    \"adminToken\": \"AAABnvxRVklrnYxKZ0aHgTBcXukeZygoC\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/signup","urlObject":{"protocol":"http","port":"8080","path":["api","user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"777721b6-a2cc-4306-8ded-4e62c8eba2be","name":"signup Admin","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"admin123\",\r\n    \"password\": \"abc12345!\",\r\n    \"admin\": \"true\",\r\n    \"adminToken\": \"AAABnvxRVklrnYxKZ0aHgTBcXukeZygoC\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:02:50 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"true\",\n    \"status\": 201\n}"}],"_postman_id":"f60d0f9e-2364-4d01-b66e-89290432198f"},{"name":"signup","id":"126a1364-91b4-400a-9dec-8bacbf45957e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"eulga1\",\r\n    \"password\": \"abc12345!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/signup","urlObject":{"protocol":"http","port":"8080","path":["api","user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7025a8c1-fd11-450f-bfc9-d88edd02655b","name":"signup","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"eulga3\",\r\n    \"password\": \"abc12345!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/signup"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:03:31 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"true\",\n    \"status\": 201\n}"}],"_postman_id":"126a1364-91b4-400a-9dec-8bacbf45957e"},{"name":"login","id":"61512f02-ebf3-462e-9cd4-ea892d9dc342","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"eulga1\",\r\n    \"password\": \"abc12345!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/user/login","urlObject":{"protocol":"http","port":"8080","path":["api","user","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"f09a47c8-f8dc-4609-81ff-6bf777a9bd43","name":"login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"eulga3\",\r\n    \"password\": \"abc12345!\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJldWxnYTMiLCJleHAiOjE2ODg2NDUwMzEsImlhdCI6MTY4ODY0MTQzMX0.5tQZFD63x2FIstORJZ_mT9YrP_8Ib9BsyLebzaaX590"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:03:51 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"true\",\n    \"status\": 200\n}"}],"_postman_id":"61512f02-ebf3-462e-9cd4-ea892d9dc342"},{"name":"create post","id":"cb47e1a1-d420-42b8-bed1-952ed7106c71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"제목\",\r\n    \"contents\": \"게시글 생성 테스트\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/posts","urlObject":{"protocol":"http","port":"8080","path":["api","posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6da32861-ad90-499b-a4fa-4ca9291caf1f","name":"create post","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"제목\",\r\n    \"contents\": \"게시글 생성 테스트\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/posts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:04:03 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"postId\": 1,\n    \"title\": \"제목\",\n    \"author\": \"eulga3\",\n    \"contents\": \"게시글 생성 테스트\",\n    \"createdDate\": \"2023-07-06T20:04:03.3048111\",\n    \"commentList\": null\n}"},{"id":"5ab0a4ac-fa82-42af-86ea-8e61569a1fce","name":"create post","originalRequest":{"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"제목\",\r\n    \"contents\": \"게시글 생성 테스트\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/posts"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:06:31 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"postId\": 3,\n    \"title\": \"제목\",\n    \"author\": \"eulga3\",\n    \"contents\": \"게시글 생성 테스트\",\n    \"createdDate\": \"2023-07-06T20:06:31.7630718\",\n    \"commentList\": null\n}"}],"_postman_id":"cb47e1a1-d420-42b8-bed1-952ed7106c71"},{"name":"get all post","id":"9ad3240c-1291-4b62-a956-c96f3a0ecd7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/posts/1","urlObject":{"protocol":"http","port":"8080","path":["api","posts","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"1e184124-6c1a-4961-b913-8e1c5386d40e","name":"search post","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/posts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:06:33 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"postId\": 3,\n        \"title\": \"제목\",\n        \"author\": \"eulga3\",\n        \"contents\": \"게시글 생성 테스트\",\n        \"createdDate\": \"2023-07-06T20:06:31.763072\",\n        \"commentList\": []\n    },\n    {\n        \"postId\": 2,\n        \"title\": \"제목\",\n        \"author\": \"eulga3\",\n        \"contents\": \"게시글 생성 테스트\",\n        \"createdDate\": \"2023-07-06T20:06:30.654189\",\n        \"commentList\": []\n    },\n    {\n        \"postId\": 1,\n        \"title\": \"제목\",\n        \"author\": \"eulga3\",\n        \"contents\": \"게시글 생성 테스트\",\n        \"createdDate\": \"2023-07-06T20:04:03.304811\",\n        \"commentList\": []\n    }\n]"}],"_postman_id":"9ad3240c-1291-4b62-a956-c96f3a0ecd7e"},{"name":"get one post by id","id":"cf27c498-4cea-465a-a0ef-9a9a89a6bfc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/api/posts/1","urlObject":{"protocol":"http","port":"8080","path":["api","posts","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"6e2ffa44-ea4d-4257-83d8-0a05d5ace339","name":"search post Copy","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/api/posts/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:09:22 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"postId\": 1,\n    \"title\": \"제목 수정 테스트\",\n    \"author\": \"eulga3\",\n    \"contents\": \"내용 수정 테스트\",\n    \"createdDate\": \"2023-07-06T20:04:03.304811\",\n    \"commentList\": [\n        {\n            \"commentId\": 1,\n            \"content\": \"댓글1 수정\",\n            \"createDate\": \"2023-07-06T20:08:39.020243\",\n            \"username\": \"eulga3\"\n        },\n        {\n            \"commentId\": 3,\n            \"content\": \"댓글1\",\n            \"createDate\": \"2023-07-06T20:09:03.333205\",\n            \"username\": \"eulga3\"\n        }\n    ]\n}"}],"_postman_id":"cf27c498-4cea-465a-a0ef-9a9a89a6bfc4"},{"name":"modify post","id":"6355e28e-3112-4f1c-b9f7-61cb7317b7dd","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\": \"제목 수정 테스트\",\r\n    \"contents\": \"내용 수정 테스트\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/posts/2","urlObject":{"protocol":"http","port":"8080","path":["api","posts","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"4b757446-a6ac-47e0-bf3d-f8ffe7a82920","name":"modify post","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"title\": \"제목 수정 테스트\",\r\n    \"contents\": \"내용 수정 테스트\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/posts/1"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:07:59 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"postId\": 1,\n    \"title\": \"제목 수정 테스트\",\n    \"author\": \"eulga3\",\n    \"contents\": \"내용 수정 테스트\",\n    \"createdDate\": \"2023-07-06T20:04:03.304811\",\n    \"commentList\": []\n}"}],"_postman_id":"6355e28e-3112-4f1c-b9f7-61cb7317b7dd"},{"name":"delete post","id":"a124450f-a8a7-4637-a177-f49786008c83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/posts/1","urlObject":{"protocol":"http","port":"8080","path":["api","posts","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"d18d8713-ef0e-48b3-bf81-7ae79228fb56","name":"delete post","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/posts/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:08:18 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"true\",\n    \"status\": \"200\"\n}"}],"_postman_id":"a124450f-a8a7-4637-a177-f49786008c83"},{"name":"create comment","id":"d953ccc6-3307-4ed5-9bed-15f122790c93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"postId\": 1,\r\n    \"content\": \"댓글 테스트2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/comments","urlObject":{"protocol":"http","port":"8080","path":["api","comments"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"90bfb57f-aab5-4605-baec-a8ae0cc3358d","name":"create comment","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"postId\": 1,\r\n    \"content\": \"댓글1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/comments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:08:39 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"commentId\": 1,\n    \"content\": \"댓글1\",\n    \"createDate\": \"2023-07-06T20:08:39.0202427\",\n    \"username\": \"eulga3\"\n}"},{"id":"d257c4f3-44d0-420b-8256-1a8ffbbf8bd8","name":"create comment","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"postId\": 1,\r\n    \"content\": \"댓글1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/comments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:08:45 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"commentId\": 2,\n    \"content\": \"댓글1\",\n    \"createDate\": \"2023-07-06T20:08:45.5378187\",\n    \"username\": \"eulga3\"\n}"},{"id":"8d83ad43-71a8-4be7-9aa0-8f9666b24f34","name":"create comment","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"postId\": 1,\r\n    \"content\": \"댓글1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/comments"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:09:03 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"commentId\": 3,\n    \"content\": \"댓글1\",\n    \"createDate\": \"2023-07-06T20:09:03.333205\",\n    \"username\": \"eulga3\"\n}"}],"_postman_id":"d953ccc6-3307-4ed5-9bed-15f122790c93"},{"name":"delete Comment","id":"93245a0c-3dd5-4610-a118-b5d4d189ff49","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:8080/api/comments/1","urlObject":{"protocol":"http","port":"8080","path":["api","comments","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"a519934c-f97d-4a93-a152-438a92f525a4","name":"delete Comment","originalRequest":{"method":"DELETE","header":[],"url":"http://localhost:8080/api/comments/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:09:14 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": \"true\",\n    \"status\": \"200\"\n}"}],"_postman_id":"93245a0c-3dd5-4610-a118-b5d4d189ff49"},{"name":"modify comment","id":"621bf16d-bff7-42e9-b9e1-786a9de0ceff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"댓글1 수정\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/comments/1","urlObject":{"protocol":"http","port":"8080","path":["api","comments","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"2f8e1bfe-69dc-420b-9c26-d1e1b2ca6c0a","name":"modify comment","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"content\": \"댓글1 수정\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/api/comments/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Thu, 06 Jul 2023 11:08:55 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"commentId\": 1,\n    \"content\": \"댓글1 수정\",\n    \"createDate\": \"2023-07-06T20:08:39.020243\",\n    \"username\": \"eulga3\"\n}"}],"_postman_id":"621bf16d-bff7-42e9-b9e1-786a9de0ceff"}]}