Create comment heart

add heart to selected comment

POST /posts/{postId}/comments/{commentId}/hearts

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Response

{
    "message": "Like created successfully."
}

피드백 받은 내용

  • 익명성 여부를 설정할 수 있다면 Request Body에 anonymity 필드 추가

  • Response에 "commentor": "익명1" 대신 anonymity: true로

Last updated