Create Hotel
POST
/api/v1/hotels
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/v1/hotels' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Hotel Yamato",
"location": "Soerabaja"
}'
Response Response Example
{
"status_code": 201,
"message": "Create Hotel Success."
}
Request
Body Params application/json