【发布时间】:2018-05-20 13:55:23
【问题描述】:
我正在使用来自 openweathermap 的 json API 数据来获取有关特定城市的信息。
几天前它运行良好,但由于某种原因,每个标有国家代码“RS”(代表塞尔维亚)的城市都无法运行。 http://api.openweathermap.org/data/2.5/weather?q=Belgrade,rs&APPID=MYAPI&units=metric&lang=hr
如果我使用其他国家/地区的城市,例如这个,它可以工作: http://api.openweathermap.org/data/2.5/weather?q=Zagreb,hr&APPID=MYAPI&units=metric&lang=hr
不太确定这里有什么区别,为什么“RS”国家代码不起作用?
有什么建议吗?
【问题讨论】:
标签: openweathermap