我正在尝试从 SendGrid API 接收数据
$.ajax({
type:'GET',
url:"https://sendgrid.com/api/bounces.get.json",
data: {api_user:'username',api_key:'userkey',date:1},
success: function(data){
console.log(data)
},
crossDomain: true,
dataType: 'jsonp',
error:function(a,b,c){
console.log(a);
}
});
控制台显示:
对象 { readyState=4, status=200, statusText="success"}
解析器错误
错误:未调用 jQuery17208301184673423685_1374648217666
错误或问题在哪里?