[Google-Docs-Data-APIs] Re: Authentication question

2009-08-17 Thread Graham Chiu
Done. On Mon, Aug 17, 2009 at 8:44 PM, Eric Bidelman wrote: > You make a great point.  Could you file a feature request for that? > http://code.google.com/p/gdata-issues/issues/entry?template=Accounts%20(Enhancement%20Request) > > On Mon, Aug 17, 2009 at 6:38 PM, Graham Chiu wrote: >> >> Yes tha

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-17 Thread Eric Bidelman
You make a great point. Could you file a feature request for that? http://code.google.com/p/gdata-issues/issues/entry?template=Accounts%20(Enhancement%20Request) On Mon, Aug 17, 2009 at 6:38 PM, Graham Chiu wrote: > > Yes thanks, it works .. can download as txt, pdf etc. > > Perhaps it might be

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-17 Thread Graham Chiu
Yes thanks, it works .. can download as txt, pdf etc. Perhaps it might be less stressful for people if a lowercase auth is returned by the authentication routine! On Mon, Aug 17, 2009 at 8:25 PM, Eric Bidelman wrote: > So did that work then? > BTW, the docs do mention the 'auth' token is used as

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-17 Thread Eric Bidelman
So did that work then? BTW, the docs do mention the 'auth' token is used as a lowercase value: http://code.google.com/apis/gdata/auth.html#ClientLogin Eric On Mon, Aug 17, 2009 at 6:22 PM, Graham Chiu wrote: > > Eric, > > I downloaded the

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-17 Thread Graham Chiu
Eric, I downloaded the python samples and ran them and compared the traces. The api calls I have tried before accept Auth=, but the download document call insists on a lowercase auth= ... even though the authentication token returned contains a capital A. On Mon, Aug 17, 2009 at 2:06 PM, Graham

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-16 Thread Graham Chiu
I was wondering if it were an authentication issue because if I browse to the page I get redirected to, and re-authenticate, then the document comes down as text as I requested. I did a wireshark trace on the headers I am sending, and I am sending the same authentication string to upload as I am

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-16 Thread Graham Chiu
Eric Not sure it will be much help! Here's the start of my little API http://rebol.wik.is/Googledocs so, I do this: gdoc: make googledocs [] gdoc/authenticate em...@gmail.com password "rebol" "writely" resourceid: gdoc/upload-document "my document name" %simple-letter.rtf "application/msword"

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-16 Thread Eric Bidelman
I'm more interested in the code that you're using to download the re='alternate' link. On Mon, Aug 17, 2009 at 11:10 AM, Graham Chiu wrote: > > Here's what I got back when I uploaded the document > > > http://docs.google.com/feeds/documents/private/full/document%3A0AaELdnC15jkoZGduejVrYnNfMTk3

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-16 Thread Eric Bidelman
Can you post sample code? On Mon, Aug 17, 2009 at 11:05 AM, Graham Chiu wrote: > > Yes, I just uploaded a rtf document and then tried to download it again. > > On Mon, Aug 17, 2009 at 1:02 PM, Eric Bidelman wrote: > > You only need a different auth token (one valid for 'wise') when > exporting >

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-16 Thread Graham Chiu
Here's what I got back when I uploaded the document http://docs.google.com/feeds/documents/private/full/document%3A0AaELdnC15jkoZGduejVrYnNfMTk3Z3A4dnA2ZjM 2009-08-17T00:15:04.681Z 2009-08-17T00:15:04.682Z http://schemas.google.com/g/2005#kind"; term="http://schemas.google.com/docs/2007#

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-16 Thread Graham Chiu
Yes, I just uploaded a rtf document and then tried to download it again. On Mon, Aug 17, 2009 at 1:02 PM, Eric Bidelman wrote: > You only need a different auth token (one valid for 'wise') when exporting > spreadsheets: > http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.ht

[Google-Docs-Data-APIs] Re: Authentication question

2009-08-16 Thread Eric Bidelman
You only need a different auth token (one valid for 'wise') when exporting spreadsheets: http://code.google.com/apis/documents/docs/2.0/developers_guide_protocol.html#DownloadingSpreadsheets You request looks right for downloading a document/presentation. Are you sure that's the one being sent? <