http://nominatim.openstreetmap.org api giving httpcode 403

懵懂的女人 提交于 2019-12-13 00:04:25

问题


api call to http://nominatim.openstreetmap.org/search?format=json started giving httpcode 403.

We are using this api since last 2 years and never faced such issue.

Suddenly today it started giving this error.

Any kind of help is appreciated!


回答1:


Added HTTP Referrer and it worked! As per their usage policy , valid HTTP Referrer is required. However not sure about how it used to work earlier.



来源:https://stackoverflow.com/questions/48700300/http-nominatim-openstreetmap-org-api-giving-httpcode-403

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!