【发布时间】:2012-05-29 17:20:17
【问题描述】:
我在使用 OAuth 2.0 Playground 上的文档列表 API 时遇到问题。除了这个之外,所有其他 API 都可以工作。请求从操场发送为:
GET /feeds/default/private/full/ HTTP/1.1
Host: docs.google.com
Content-length: 0
Authorization: OAuth <the oAuth string generated>
响应返回为:
HTTP/1.1 400 Bad Request
status: 400
content-length: 19
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
expires: Tue, 29 May 2012 17:11:47 GMT
x-google-cache-control: remote-fetch
server: GSE
via: HTTP/1.1 GWA
cache-control: private, max-age=0
date: Tue, 29 May 2012 17:11:47 GMT
x-frame-options: SAMEORIGIN
content-type: text/html; charset=UTF-8
-content-encoding: gzip
Invalid request URI
API 是因为 Google Drive 而被弃用,还是我做错了什么?
【问题讨论】:
标签: google-docs-api google-drive-api