Post API
게시글 조회
GET
http://api.gitbook.com/v1/posts/{post_id}
Path Parameters
Name
Type
Description
post_id*
long
post_id
게시글 작성
POST
/posts
Headers
Name
Type
Description
Authorization*
String
Bearer + token
Request Body
Name
Type
Description
content*
String
꿀조합 소개
게시글 수정
PUT
/posts/{post_id}
Path Parameters
Name
Type
Description
post_id*
long
post_id
Headers
Name
Type
Description
Authorization*
String
Bearer + Token
Request Body
Name
Type
Description
content
String
꿀조합 레시피
게시글 삭제
DELETE
/posts/{post_id}
Path Parameters
Name
Type
Description
post_id*
long
post_id
Headers
Name
Type
Description
Authorization*
String
Bearer + Token
좋아요 기능
POST
/posts/{post_id}/post_like
Headers
Name
Type
Description
Authorization*
"Bearer" + token
싫어요 기능
POST
/posts/{post_id}/post_unlike
Headers
Name
Type
Description
Authorization*
String
"Bearer" + token
Last updated