/////
Search

리뷰 작성

Domain
Review
Method
POST
URL
/auth/{category}/review/{id}

Request

POST http://localhost:8080/auth/{{category}}/review/{{id}} Authorization: Bearer {{auth_token}} Content-Type: application/json { "review": "참 아름다워요" }
JavaScript
복사
category(필수) : touristspot(관광지), restaurant(맛집), accommodation(숙소)

Response

success

HTTP/1.1 200 Content-Type: application/json { "data": "NULL", "code": "NULL", "message": "에러 없음" }
JavaScript
복사

fail

해당 관광지를 찾을 수 없을 때
HTTP/1.1 404 Content-Type: application/json { "data": null, "code": "TOURISTSPOT_NOT_FOUND", "message": "해당 관광지를 찾을 수 없습니다." }
JavaScript
복사