Body
The data for the updated city
-
Name of the City
-
Country of the City
-
Post Office of the City
Sample request:
PUT /cities/{cityId} { "name": "Budapest", "country": "Hungary", "postOffice": "11176" }
curl \
-X PUT http://api.example.com/api/Cities/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"string","country":"string","postOffice":"string"}'
curl \
-X PUT http://api.example.com/api/Cities/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: text/json"
curl \
-X PUT http://api.example.com/api/Cities/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/*+json"
{
"name": "string",
"country": "string",
"postOffice": "string"
}
{
"name": "string",
"country": "string",
"postOffice": "string"
}
{
"name": "string",
"country": "string",
"postOffice": "string"
}