Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3663

Problem with getting city in countriesnow.space API

$
0
0

I encountered a problem with receiving and filtering cities.

For example:

curl -X 'POST' \'https://countriesnow.space/api/v0.1/countries/cities' \  -H 'accept: */*' \  -H 'Content-Type: application/json' \  -d '{"country": "poland"}

And I get the name of the cities at the same time "Warsaw" and "Warszawa".

Please tell me if there is some setting to get city names only in English format?

Unfortunately, I did not find the answer in the documentation. Perhaps such functionality is not provided?https://documenter.getpostman.com/view/1134062/T1LJjU52


Viewing all articles
Browse latest Browse all 3663

Trending Articles