87,995
社区成员
发帖
与我相关
我的任务
分享$.ajax({
url:"https://github.com:443/login/oauth/access_token",
data:{
client_id:"c4aea767dd3d3b7a3e27",
client_secret:"d4e9bb798f10b9f4012c121ab9616cc3d751f5dd",
code:code
},
type:"GET",
success:function(re){
console.log(re);
}
});
alert($.ajax({url:"https://github.com:443/login/oauth/access_token?client_id=d5***********108&callback=666&client_secret=f114a9b6********a85f3d&code="+code,dataType:"jsonp",contentType:"application/x-www-form-urlencoded"}));
读取倒是成功了
,但是报错
错误是Refused to execute script from 'https://github.com/login/oauth/access_token?client_id=***&client_secret=***&code=***&callback=jQuery214023505195085585773_1595498380935&_=1595498380936' because its MIME type ('application/x-www-form-urlencoded') is not executable, and strict MIME type checking is enabled.