I am facing problem to call web service which is hosted over HTTP and I am calling web service from HTTPS domain.
web service's .htaccess
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ %{ENV:BASE}index.php [QSA,L]
I got following error in console when I am trying to calling web.
angular.min.js:93 Mixed Content: The page at
https://www.<my-domain.com>/#/
was loaded over HTTPS, but requested an insecure XMLHttpRequest endpointhttp://<api url goes here>
. This request has been blocked; the content must be served over HTTPS.
Note
Web service is hosted in AWS server which is HTTP only and my website is hosted to other hosting provider.