[GET] 게시물 상세 조회 - GreenByMe/GreenByMe_Server GitHub Wiki

게시물 상세 조회

메소드 경로 짧은설명
GET /api/posts/{postId} 게시물 상세 조회

요청 헤더

content-type: application/json

요청 파라미터

postId: 게시물 Id

응답 바디

조회 성공

{
  "postId": 28,
  "nickName": "angelHack",
  "picture": "http://ec2-13-58-104-154.us-east-2.compute.amazonaws.com:8080/api/posts/images/dfdf3123.png",
  "thumbsUp": 0,
  "title": "텀블러 인증",
  "text": "어려웠어요 ㅜㅜㅜ",
  "createDate": "2020-07-19T21:24:13",
  "lastModifiedDate": "2020-07-19T21:24:13"
}