开发者

Can I upload a html file with Google Documents List API?

I need to upload html files to google开发者_如何学C docs with Google Documents List API, but the server always response an error of "ServiceForbiddenException".

the header is:

POST /feeds/default/private/full HTTP/1.1 Host: docs.google.com GData-Version: 3.0 Authorization: OAuth 1/VbdXxNS9HXN1Q3pe8D.... Content-Type: text/html; charset=UTF-8 Slug: test.html Content-Length: 2109

....content.....

any idea?


Shouldn't that be an HTTPS URL? Can you show more of the URL that you are using?

I found the java/samples/DocumentList.java tutorial included in the gdata release very helpful in hunting down these things.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜