OAuth 2.0 游乐场列表电子表格元数据:无效的请求 URI



我正在测试Google Spreadsheet 3.0 API,并使用OAuth 2.0 Playground。尝试使用列表电子表格元数据请求时,我收到错误无效的请求 URI。以下是响应详细信息:

HTTP/1.1 400 Bad Request
Content-length: 19
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
X-google-cache-control: remote-fetch
-content-encoding: gzip
Server: GSE
Reason: Bad Request
Via: HTTP/1.1 GWA
X-chromium-appcache-fallback-override: disallow-fallback
Cache-control: private, max-age=0
Date: Sun, 18 Nov 2012 19:56:29 GMT
X-frame-options: SAMEORIGIN
Content-type: text/html; charset=UTF-8
Expires: Sun, 18 Nov 2012 19:56:29 GMT
Invalid request URI

我试过这个,但没有成功。

如果有人能指出正确的方向,我将不胜感激。

看来我已经找到了自己问题的解决方案。它看起来像OAuth 2.0 Playground中的一个错误:当您从"列出可能的操作"中进行选择时,列表元数据菜单项返回以下请求URL:发送此请求 http://spreadsheets.google.com/feeds/default/private/full 返回上述错误。您必须改用 http://spreadsheets.google.com/feeds/spreadsheets/private/full 请求 URL,它似乎正在工作。

最新更新