{"info":{"_postman_id":"64d6f7e3-df9d-49e7-9f9b-2768d00c3bfb","name":"blog","description":"<html><head></head><body><h1 id=\"introduction\">Introduction</h1>\n<p>블로그 회원가입 및 게시글 CRUD</p>\n<h1 id=\"overview\">Overview</h1>\n<h1 id=\"authentication\">Authentication</h1>\n<h1 id=\"error-codes\">Error Codes</h1>\n<h1 id=\"rate-limit\">Rate limit</h1>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Introduction","slug":"introduction"},{"content":"Overview","slug":"overview"},{"content":"Authentication","slug":"authentication"},{"content":"Error Codes","slug":"error-codes"},{"content":"Rate limit","slug":"rate-limit"}],"owner":"26930335","collectionId":"64d6f7e3-df9d-49e7-9f9b-2768d00c3bfb","publishedId":"2s93Y6re1j","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-04-25T07:21:11.000Z"},"item":[{"name":"회원가입","id":"917fd4d2-9820-44f2-ab96-60c11b871176","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"cozy\",\r\n    \"password\": \"cozy55489\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/user/signup","urlObject":{"protocol":"http","port":"8080","path":["user","signup"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"3ed1ac9f-5826-48fd-94b6-26afcdd7b90b","name":"회원가입","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\": \"cozy\",\r\n    \"password\": \"cozy55489\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/user/signup"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 25 Apr 2023 06:13:51 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"회원가입 성공\",\n    \"statusCode\": 200\n}"}],"_postman_id":"917fd4d2-9820-44f2-ab96-60c11b871176"},{"name":"로그인","id":"f81c86f3-1066-4ad9-b4f0-47feefb2567d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"cozy12\",\r\n    \"password\" : \"cozy55489\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/user/login","urlObject":{"protocol":"http","port":"8080","path":["user","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7c0f1728-6931-47c8-a93a-e42ca8f84d95","name":"로그인","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"username\" : \"cozy\",\r\n    \"password\" : \"cozy55489\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjb3p5IiwiZXhwIjoxNjgyNDAzODQyLCJpYXQiOjE2ODI0MDMyNDJ9.97qzXt1EU-bWzedMf01LAbINu4wnfzmnkIREYUArBHM"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 25 Apr 2023 06:14:02 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"로그인 성공\",\n    \"statusCode\": 200\n}"}],"_postman_id":"f81c86f3-1066-4ad9-b4f0-47feefb2567d"},{"name":"게시글 작성","event":[{"listen":"test","script":{"id":"1d9042c5-eac0-40c0-8efc-fb2e6469dda0","exec":["pm.test(\"Successful POST request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});",""],"type":"text/javascript"}}],"id":"9f374de1-e033-4cb7-92f9-d40c0356ff73","request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjb3p5IiwiYXV0aCI6IlVTRVIiLCJleHAiOjE2ODMwOTMxODQsImlhdCI6MTY4MzA5MjU4NH0.v-0o6NeqWF5_P0gXLjg-jtQyCPSdaelXZz_KrUwWXc8","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\" : \"title2\",\n    \"post\" : \"contents\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/post","urlObject":{"protocol":"http","port":"8080","path":["blog","post"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"b3750862-dd9b-4c27-85b9-0660dc0d44dd","name":"게시글 작성","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjb3p5IiwiZXhwIjoxNjgyNDAzODQyLCJpYXQiOjE2ODI0MDMyNDJ9.97qzXt1EU-bWzedMf01LAbINu4wnfzmnkIREYUArBHM","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\" : \"title2\",\n    \"post\" : \"contents\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/posting"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 25 Apr 2023 06:14:16 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"title\": \"title1\",\n    \"username\": \"cozy\",\n    \"post\": \"contents\",\n    \"createdAt\": \"2023-04-25T15:14:16.4635787\",\n    \"modifiedAt\": \"2023-04-25T15:14:16.4635787\"\n}"}],"_postman_id":"9f374de1-e033-4cb7-92f9-d40c0356ff73"},{"name":"게시글 목록 조회","event":[{"listen":"test","script":{"id":"a2c3bec5-f31b-43e9-bb34-0ed193745fc5","exec":["pm.test(\"Status code is 200\", function () {","    pm.response.to.have.status(200);","});"],"type":"text/javascript"}}],"id":"dd3b384a-8a1e-444c-b953-5ecb3193b262","request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/posts","urlObject":{"protocol":"http","port":"8080","path":["blog","posts"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7763028b-03fc-4c9a-8806-c7e7e2c1d07c","name":"게시글 목록 조회","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 25 Apr 2023 06:14:36 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"title\": \"title2\",\n        \"username\": \"cozy\",\n        \"post\": \"contents\",\n        \"createdAt\": \"2023-04-25T15:14:32.43757\",\n        \"modifiedAt\": \"2023-04-25T15:14:32.440571\"\n    },\n    {\n        \"id\": 1,\n        \"title\": \"title1\",\n        \"username\": \"cozy\",\n        \"post\": \"contents\",\n        \"createdAt\": \"2023-04-25T15:14:16.463579\",\n        \"modifiedAt\": \"2023-04-25T15:14:16.484579\"\n    }\n]"},{"id":"ac4f929b-747e-401f-92b5-4940d3809d80","name":"게시글 목록 조회","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/list"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 25 Apr 2023 06:14:36 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 2,\n        \"title\": \"title2\",\n        \"username\": \"cozy\",\n        \"post\": \"contents\",\n        \"createdAt\": \"2023-04-25T15:14:32.43757\",\n        \"modifiedAt\": \"2023-04-25T15:14:32.440571\"\n    },\n    {\n        \"id\": 1,\n        \"title\": \"title1\",\n        \"username\": \"cozy\",\n        \"post\": \"contents\",\n        \"createdAt\": \"2023-04-25T15:14:16.463579\",\n        \"modifiedAt\": \"2023-04-25T15:14:16.484579\"\n    }\n]"}],"_postman_id":"dd3b384a-8a1e-444c-b953-5ecb3193b262"},{"name":"게시글 수정","event":[{"listen":"test","script":{"id":"ac8caebe-26cc-40f1-bc3f-77d54feba829","exec":["pm.test(\"Successful PUT request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 201, 204]);","});",""],"type":"text/javascript"}}],"id":"5a003776-18d0-4f55-ae54-388077c625dc","request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjb3p5IiwiYXV0aCI6IlVTRVIiLCJleHAiOjE2ODMxMTQzNDksImlhdCI6MTY4MzExMzc0OX0.1Jdxz5HOax27WIFAmbppEDd-b_A2yQIC0F5a1M95asI","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"modified title\",\n    \"post\" : \"modified body\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/post/1","urlObject":{"protocol":"http","port":"8080","path":["blog","post","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"389aee10-254f-46b4-a89d-ad643db842d0","name":"게시글 수정","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjb3p5IiwiZXhwIjoxNjgyNDAzODQyLCJpYXQiOjE2ODI0MDMyNDJ9.97qzXt1EU-bWzedMf01LAbINu4wnfzmnkIREYUArBHM","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"title\": \"modified title\",\n    \"post\" : \"modified body\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 25 Apr 2023 06:15:55 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"title\": \"modified title\",\n    \"username\": \"cozy\",\n    \"post\": \"modified body\",\n    \"createdAt\": \"2023-04-25T15:14:16.463579\",\n    \"modifiedAt\": \"2023-04-25T15:14:16.484579\"\n}"}],"_postman_id":"5a003776-18d0-4f55-ae54-388077c625dc"},{"name":"게시글 삭제","event":[{"listen":"test","script":{"id":"0c7a9a9a-3d0a-4abd-9c39-f883f614f3c2","exec":["pm.test(\"Successful DELETE request\", function () {","    pm.expect(pm.response.code).to.be.oneOf([200, 202, 204]);","});",""],"type":"text/javascript"}}],"id":"33747bf1-cd19-4d1a-8f24-d3036d934154","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjb3p5IiwiZXhwIjoxNjgyNDAzODQyLCJpYXQiOjE2ODI0MDMyNDJ9.97qzXt1EU-bWzedMf01LAbINu4wnfzmnkIREYUArBHM","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/1","description":"<p>This is a DELETE request, and it is used to delete data that was previously created via a POST request. You typically identify the entity being updated by including an identifier in the URL (eg. <code>id=1</code>).</p>\n<p>A successful DELETE request typically returns a <code>200 OK</code>, <code>202 Accepted</code>, or <code>204 No Content</code> response code.</p>\n","urlObject":{"protocol":"http","port":"8080","path":["blog","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"0d70da4d-9389-4b86-af4b-8abad82a144f","name":"게시글 삭제","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjb3p5IiwiZXhwIjoxNjgyNDAzODQyLCJpYXQiOjE2ODI0MDMyNDJ9.97qzXt1EU-bWzedMf01LAbINu4wnfzmnkIREYUArBHM","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 25 Apr 2023 06:16:19 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"msg\": \"게시글이 삭제됐습니다.\",\n    \"statusCode\": 200\n}"}],"_postman_id":"33747bf1-cd19-4d1a-8f24-d3036d934154"},{"name":"선택한 게시글 조회","id":"e2065786-47ed-43d5-af57-3a31992303b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/blog/2","urlObject":{"protocol":"http","port":"8080","path":["blog","2"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"8ca646bd-800a-4e5e-af39-18ef795716dc","name":"선택한 게시글 조회","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/blog/list/2"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Tue, 25 Apr 2023 06:16:36 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 2,\n    \"title\": \"title2\",\n    \"username\": \"cozy\",\n    \"post\": \"contents\",\n    \"createdAt\": \"2023-04-25T15:14:32.43757\",\n    \"modifiedAt\": \"2023-04-25T15:14:32.440571\"\n}"}],"_postman_id":"e2065786-47ed-43d5-af57-3a31992303b1"},{"name":"댓글 작성","id":"8ef1365d-da46-4f2e-a168-4ea54251a4ea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8080/blog/comment/1","urlObject":{"protocol":"http","port":"8080","path":["blog","comment","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"9d23f726-7aa1-47fe-ae32-18d0a7064c8b","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0MiIsImF1dGgiOiJVU0VSIiwiZXhwIjoxNjgyNTA3MjYzLCJpYXQiOjE2ODI1MDY2NjN9.ov3_XQ3Z0jEWfWBiNeGZSarIRjnzghYpT_fRHiObSFQ","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"comment\" : \"댓글 테스트\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/comment/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 26 Apr 2023 10:57:57 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"comment\": \"댓글 테스트\",\n    \"username\": \"test2\"\n}"}],"_postman_id":"8ef1365d-da46-4f2e-a168-4ea54251a4ea"},{"name":"댓글 수정","id":"fe05cb4c-4adc-4e86-9931-5b0c2ee9fbee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0MiIsImF1dGgiOiJVU0VSIiwiZXhwIjoxNjgyNTA5NTY2LCJpYXQiOjE2ODI1MDg5NjZ9.e9lEvDrUj-qMKcvwcqVY5eEeIU2ZXnGvOUP7jqtcl0s","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/comment/1","urlObject":{"protocol":"http","port":"8080","path":["blog","comment","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"7abd4237-60b0-4762-8c23-5597b4ee6412","name":"댓글 수정","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0MiIsImF1dGgiOiJVU0VSIiwiZXhwIjoxNjgyNTI3OTcxLCJpYXQiOjE2ODI1MjczNzF9.ZcOk25nMYUWRxLSAzln4nXcTwGNUiBzJV6QCnir3ilU","type":"text"}],"body":{"mode":"raw","raw":"{\r\n    \"comment\" : \"댓글 수정\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8080/blog/comment/5"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Date","value":"Wed, 26 Apr 2023 16:45:16 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"{\n    \"comment\": \"댓글 수정\",\n    \"username\": \"test2\"\n}"}],"_postman_id":"fe05cb4c-4adc-4e86-9931-5b0c2ee9fbee"},{"name":"댓글 삭제","id":"662608f9-d85b-4a50-8544-6abebb47640f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"","type":"text"}],"url":"http://localhost:8080/blog/comment/1","urlObject":{"protocol":"http","port":"8080","path":["blog","comment","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[{"id":"82499c21-4d49-49d8-977d-18c293ccdfae","name":"댓글 삭제","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ0ZXN0MyIsImF1dGgiOiJBRE1JTiIsImV4cCI6MTY4MjU4Njc5MCwiaWF0IjoxNjgyNTg2MTkwfQ.dMLuCwEDneJLZBbWbyYjU7nzGNp2sjWiRYjqNZ6XOQg","type":"text"}],"url":"http://localhost:8080/blog/comment/1"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Type","value":"text/plain;charset=UTF-8"},{"key":"Content-Length","value":"33"},{"key":"Date","value":"Thu, 27 Apr 2023 09:08:39 GMT"},{"key":"Keep-Alive","value":"timeout=60"},{"key":"Connection","value":"keep-alive"}],"cookie":[],"responseTime":null,"body":"200 댓글이 삭제됐습니다."}],"_postman_id":"662608f9-d85b-4a50-8544-6abebb47640f"},{"name":"게시글 좋아요","id":"1f40d09f-441d-457a-9e78-71c309ac7b55","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"http://localhost:8080/blog/like/post/1","urlObject":{"protocol":"http","port":"8080","path":["blog","like","post","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f40d09f-441d-457a-9e78-71c309ac7b55"},{"name":"댓글 좋아요","id":"27fca7ce-8d48-4879-a280-fe3d833101e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJjb3p5IiwiYXV0aCI6IlVTRVIiLCJleHAiOjE2ODMxMTQzNDksImlhdCI6MTY4MzExMzc0OX0.1Jdxz5HOax27WIFAmbppEDd-b_A2yQIC0F5a1M95asI","type":"text"}],"url":"http://localhost:8080/blog/like/comment/1","urlObject":{"protocol":"http","port":"8080","path":["blog","like","comment","1"],"host":["localhost"],"query":[{"disabled":true,"key":"","value":null}],"variable":[]}},"response":[],"_postman_id":"27fca7ce-8d48-4879-a280-fe3d833101e3"}],"event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""]}},{"listen":"test","script":{"type":"text/javascript","exec":[""]}}],"variable":[{"key":"id","value":"1"},{"key":"base_url","value":"https://postman-rest-api-learner.glitch.me/"}]}