admin管理员组文章数量:1221386
I'm sending ajax requests to Geonames Search api. It works pretty well on http protocol.
But when I switch to https (both my own server and the api requests), my requests are blocked by the browser: Geonames https certificate seems to be invalid.
Did I miss something?
I'm sending ajax requests to Geonames Search api. It works pretty well on http protocol.
But when I switch to https (both my own server and the api requests), my requests are blocked by the browser: Geonames https certificate seems to be invalid.
Did I miss something?
Share Improve this question asked Apr 28, 2019 at 9:58 AbrabAbrab 8311 gold badge10 silver badges20 bronze badges1 Answer
Reset to default 26Oh! I coudn't find the response on Stackoverflow. But is was on Geonames forum already:
Https requests should be sent to secure.geonames.org
instead of api.geonames.org
. That's it!
本文标签: javascriptHow do I have Geonames api work with httpsStack Overflow
版权声明:本文标题:javascript - How do I have Geonames api work with https? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1739270432a2155789.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论