通过http请求调用第三方网址在Edge浏览器中无效。 我正在使用此代码
$http({
url: url,
method: 'POST',
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
'Authorization':Authorization,
},
data: 'grant_type=client_credentials'
}).then(function (data, status, headers, config) {});
答案 0 :(得分:0)
可能是因为网络浏览器政策的跨域禁止请求不同的主机。