Hi Alain, That looks about right, but how are you making the request? Also, a packet capture might help.
Eric On Jan 12, 2:08 pm, alain <[email protected]> wrote: > I use the Authsub (in PHP) as: > > $requestURL="http://docs.google.com/feeds/documents/private/full"; > $xmlstr ='<?xml version="1.0" > encoding="UTF-8"?> > <atom:entry > xmlns:atom="http://www.w3.org/2005/Atom"> > <atom:category > scheme="http://schemas.google.com/g/2005#kind" > term="http://schemas.google.com/docs/2007#folder" > label="folder"/> > <atom:title>Example Folder</atom:title> > </atom:entry>'; > > $cl= strlen($xmlstr); > $header = array("Content-type: > application/atom+xml","Content- > Length: \"$cl\"","Authorization: AuthSub token=\"$autosec\""); > and get a 401 error, where is the error? > Thanks > Alain --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---
