Heart

좋아요 생성

POST /api/v1/hearts

Headers

Name
Type
Description

Authorization*

string

accessToken

Request Body

Name
Type
Description

id*

number

type id

heart_type*

string

post or comment

{
    "message": "좋아요 생성 성공"
}

좋아요 삭제

DELETE /api/v1/hearts

Headers

Name
Type
Description

Authorization*

string

accessToken

Request Body

Name
Type
Description

id*

number

type id

heart_type*

string

post or comment

{
    "message": "좋아요 생성 성공"
}

Last updated