I got the token OK throuth ClientLogin.
But when I use the token to create the albums, I got ""HTTP/1.0 411
Length Required" response.
Could anyone help me?
The following is my request content.
POST http://picasaweb.google.com/data/feed/api/user/cocochiang63

Host: picasaweb.google.com

Authorization: GoogleLogin auth=myToken

Content-Type: application/atom+xml

Content-Length: 585



<entry xmlns='http://www.w3.org/2005/Atom'

    xmlns:media='http://search.yahoo.com/mrss/'

    xmlns:gphoto='http://schemas.google.com/photos/2007'>

  <title type='text'>Test Create Album</title>

  <summary type='text'>This is for testing create album only.</
summary>

  <gphoto:location>London</gphoto:location>

  <gphoto:access>public</gphoto:access>

 <media:group>

   <media:keywords>London, business</media:keywords>

  </media:group>

  <category scheme='http://schemas.google.com/g/2005#kind'

    term='http://schemas.google.com/photos/2007#album'></category>

</entry>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" 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-picasa-data-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to