最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

rest - Problem with getting city in countriesnow.space API - Stack Overflow

programmeradmin5浏览0评论

I encountered a problem with receiving and filtering cities.

For example:

curl -X 'POST' \
  '/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?

发布评论

评论列表(0)

  1. 暂无评论