I have deployed a web service on azure which perform some specific action and received a well defined ** HTTP URL ** .It accepts Json paramenter. I am trying to consume that service(http) from my https page. As result getting this error as :
Mixed Content: The page at 'https://domain/pages/white-papers.aspx#' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://azurewebsites.net/api/WhitePaper/'. This request has been blocked; the content must be served over HTTPS.
I looked a lot and tried number of approaches but still getting the same result. How can i actually call the (http) service from my JS file(rest call) , which is embedded in the page(https).