0

OAuth 2.0 Playgroundで Document List API を使用する際に問題が発生しています。この 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 ドライブのために廃止されたのでしょうか、それとも他に何か間違っているのでしょうか?

4

1 に答える 1

1

?v=3クエリ パラメータを URI に追加するか、GData-Version: 3.0ヘッダーを送信して、バージョン 3 の API にリクエストを送信する必要があります。

于 2012-05-29T17:37:51.600 に答える