Request
Body Params application/json
{
"content": "Postman으로 만든 댓글"
}
Request Code Samples
curl --location --request POST 'http://localhost:9050/apis/v1/stories/00000000-0000-0000-0000-200000000000/comments' \
--header 'Content-Type: application/json' \
--data-raw '{
"content": "Postman으로 만든 댓글"
}'
Responses
application/json {
"toast": {
"title": "댓글 작성 완료",
"description": "댓글을 작성했습니다."
},
"payload": {
"id": "79f2f717-37e6-4871-8a7c-85cad8375882",
"createdAt": "2025-01-12T01:23:54.665Z",
"updatedAt": "2025-01-12T01:23:54.665Z",
"deletedAt": null,
"content": "Postman으로 만든 댓글",
"userId": "00000000-0000-0000-0000-000000000000",
"postId": "00000000-0000-0000-0000-200000000000",
"user": {
"id": "00000000-0000-0000-0000-000000000000",
"nickname": "개발자",
"imagePath": null
},
"reactions": []
}
}
Modified at 2025-04-22 23:58:39