我正在尝试使用Google Fusion Table创建一个简单的数据库,并从浏览器进行API调用以更新/获取数据。 (该表是私有的,但设置为可导出。)但是当我从浏览器拨打电话时,请按照https://developers.google.com/fusiontables/docs/v1/getting_started#browserURL上的教程使用语法:
https://www.googleapis.com/fusiontables/v1/query?sql=SELECT * FROM {tableID}?key={APIkey}
并使用直接从浏览器替换{tableID}和{APIkey},我得到以下403响应:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
}
我已经对我的API密钥和语法进行了四重检查,我甚至检查了API控制台,并且确实为FusionTables API显示了多次调用。我需要做些什么才能确保正确进行身份验证,并确实会返回我的数据?
答案 0 :(得分:0)
你的第二个问号应该是&符号:
https://www.googleapis.com/fusiontables/v1/query?sql=SELECT * FROM {tableID}& key = {APIkey}