My page is on https, but the API URL that I am calling in AJAX is on http. I cannot get an AJAX response. Mixed content: a page labeled https: // localhost: 8443 / examples / demo.html 'was loaded via HTTPS but requested an insecure XMLHttpRequest endpoint http://www.earthtools.org/timezone-1.1/40.71417/-74.00639? _ = 1431270529277 '. This request is blocked; content must be transmitted via HTTPS.
How can i solve this?
The HTTPS API version does not exist. How can I call my HTTPS permission page. I want my page to be HTTPS, this is very important.
Any help?
I fixed it using this chrome extension and then reloading my page. it is working. https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
Another option is to enable Proxy and then use it, https://chrome.google.com/webstore/detail/zenmate-security-privacy/fdcgdnkidjaadafnichfpabhfomcebme?hl=en