edit Comment
edit comment
PATCH
/posts/{postId}/comments/{commentId}
<Description of the endpoint>
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <token>
Request-Body
Name
Type
Description
comment
string
edited comment
Response
{
"commentId": 1,
"text": "수정된 내용입니다",
"commentor": "익명1",
}
// 'createdDate'와 'updatedDate'는 서버에서 자동으로 관리되며 요청에 포함되지 않습니다.
Last updated