Request (path variable)

api/neighborhood/posts/게시글id

이렇게 요청하면됨

+

RequestBody(JSON)

{
    "category" : "맛집",
    "title": "TestTitle",
    "content": "TestContent",
    "images": ["image1.jpg", "image2.jpg"],
    "place": "TestPlace"
}

Response

{
    "isSuccess": true,
    "code": "NEIGHBORHOOD_200",
    "message": "게시물 수정 성공",
    "result": {
        "id": 7,
        "dong": "상도동",
        "neighborhoodPostCategory": "맛집",
        "title": "TestTitle",
        "content": "TestContent",
        "imageUrl": "image1.jpg",
        "createdAt": "2023-11-27T01:26:14.845994",
        "view": 8,
        "likeCount": 1,
        "commentCount": 1
    }
}