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 badges
Add a comment  | 

1 Answer 1

Reset to default 26

Oh! 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