我正在使用更新查询更新融合表特定数据,但它给了我错误:
"Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
到目前为止,这是我的代码:
var script = document.createElement('script');
var url = ['https://www.googleapis.com/fusiontables/v1/query?'];
url.push('sql=');
var query = 'UPDATE'+'1joZ2Og1R7riq39OuiiYPoccj4AD9Y1oYXGi26cTF'+'SET display = yes'+'WHERE CFSAUID = A0A';
var encodedQuery = encodeURIComponent(query);
//url.push(encodedQuery);
url.push('key=AIzaSyAm9yWCV7JPCTHCJut8whOjARd7pwROFDQ');
//script.src = url.join('');
//var body = document.getElementsByTagName('body')[0];
// body.appendChild(script);
/* $.ajax({
type: 'POST',
url: url.join(''),
dataType: 'jsonp'
});*/
$.ajax({
url : url.join(''), //Target URL for JSON file
type: 'POST',
dataType: 'jsonp',
data: encodedQuery,
async : false,
success : function(data){
console.log(data);
},
error : function(xhr, status){
console.log(status);
}
});
任何人都可以告诉我,错误的原因。
最诚挚的问候, Saurav
答案 0 :(得分:0)
有三件事要评论:
的Ni