UPDATE:
Mixed Content: The page at 'https://myapp.herokuapp.com/#/employees' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://api.geonames.org/countryInfoJSON?username=design1online'. This request has been blocked; the content must be served over HTTPS.
I'm trying to call the below api from one of my app in heroku and I'm getting the below error
Do I need to add-on SSL?
I have even tried without http:
something like this:
//api.geonames.org/countryInfoJSON?username=design1online
API call:
http://api.geonames.org/countryInfoJSON?username=design1online
Error:
failed to load resource: net::err_ssl_protocol_error
https://api.geonames.org/countryInfoJSON?username=design1online
but you might get this error net::ERR_SSL_PROTOCOL_ERROR – Xvegas