Generate a city.
POST/generate/city
Generate a city.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
object
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
citystringrequired
The random city name.
Example:
Fort Marjorie
countrystringrequired
The random country name.
Example:
Timor-Leste
{
"city": "Fort Marjorie",
"country": "Timor-Leste"
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}