0
通過http請求調用第三方url在Edge瀏覽器中不起作用。 我使用此代碼邊緣瀏覽器http請求不起作用
$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) {});
在其他瀏覽器中工作正常嗎? – Arun
是的,它的工作在Firefox和Chrome ... –
你在控制檯看到什麼錯誤?按'F12'打開'Developer Tools'並導航到'Console'。看看是否有東西在控制檯中彈出。 – Arun