Hello, I have the following problem with angularjs
XMLHttpRequest cannot load http://159.203.66.78:5000/viaroute?loc=-29.15199,-59.65164&loc=-29.118311,-59.6552098. Request header field Authorization is not allowed by Access-Control-Allow-Headers.
code angularjs:
$http.get('http://159.203.66.78:5000/viaroute?loc=-29.15199,-59.65164&loc=-29.118311,-59.6552098').success(function(response){
console.log(response);
});
as I add the CORS?
sorry, my English is bad.
Hello, I have the following problem with angularjs
XMLHttpRequest cannot load http://159.203.66.78:5000/viaroute?loc=-29.15199,-59.65164&loc=-29.118311,-59.6552098. Request header field Authorization is not allowed by Access-Control-Allow-Headers.
code angularjs:
$http.get('http://159.203.66.78:5000/viaroute?loc=-29.15199,-59.65164&loc=-29.118311,-59.6552098').success(function(response){
console.log(response);
});
as I add the CORS?
sorry, my English is bad.