I'm using angular js and I try to use $http.get to call my server side.
my url is "http://www.muslimsquare.com/sandbox/user_login.php" so I put $http.get like
$http.get('http://www.muslimsquare.com/sandbox/user_login.php').then(function(resp) {
alert(resp.status)
}, function(err) {
console.error('ERR', err);
});
When this code has beed called, I got the error show like this.
It's look like they call another url, not http://www.muslimsquare.com/sandbox/user_login.php (I user google chrome). I already try to change url to another domain, its work. just this domain does not work.
does anyone know how to fix this problem?
Regards.