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.!