Sign up ×
Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute:

Getting response in hurl.it, but not through angularjs http post.

The error message is:

Mixed Content: The page at .. was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://arms.teamthai.in:88/get_timespent_br'. This request has been blocked; the content must be served over HTTPS.

and my request code:

         $http.post('http://arms.teamthai.in:88/myajax.asmx/get_Tonnage', '', {
                "headers": {
                    "Content-Type": "application/json; charset=UTF-8"
                }
            })
            .then(function(response) {
               // Code here

          }

I am getting the correct response through hurl.it

I've been trying to resolve this for long. Any help much appreciated.!

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.