{
"title": "Postman 게시글",
"summary": "Postman 게시글 요약",
"content": "Postman 게시글 요약입니다.\n대충 아무말 작성",
"category": "GENERAL_KNOWLEDGE"
}
curl --location --request POST 'http://localhost:9050/apis/v1/stories' \
--header 'Content-Type: application/json' \
--data-raw '{
"title": "Postman 게시글",
"summary": "Postman 게시글 요약",
"content": "Postman 게시글 요약입니다.\n대충 아무말 작성",
"category": "GENERAL_KNOWLEDGE"
}'
{
"toast": {
"title": "이야기 작성 완료",
"description": "이야기를 작성했습니다.\n메인 페이지로 이동합니다!"
},
"payload": {
"id": "af27e410-b35a-4e9b-8e63-fcadffc6a0a6",
"createdAt": "2025-01-12T01:05:35.042Z",
"updatedAt": "2025-01-12T01:05:35.042Z",
"deletedAt": null,
"title": "Postman 게시글",
"summary": "Postman 게시글 요약",
"content": "Postman 게시글 요약입니다.\n대충 아무말 작성",
"thumbnailPath": null,
"category": "GENERAL_KNOWLEDGE",
"userId": "00000000-0000-0000-0000-000000000000"
}
}