특정 게시글의 특정 댓글 수정

API
comment
METHOD
PUT
PATH
api/comments/{commentId}
개발완료
담당자

Description

<댓글 수정>
특정 id 의 댓글 하나를 수정

Request

Content-type: application/json
Shell
복사
{ "postId": 1, "content": "댓글 내용 수정", "anonymous": "FALSE" }
JSON
복사

Response

{ "id": 1, "memberId": 1, "memberName": "John", "postId": 1, "content": "댓글 내용 수정", "anonymous": false, "createdAt": "2024-09-26T02:56:37.716213", "updatedAt": "2024-09-26T02:59:20.349701" }
JSON
복사

Error

HTTP/1.1 4XX
”에러 메시지”