Hi,

 I am trying to Post a Photo using XML in Http Post body. Can anyone
tell where am i going wrong? i am getting this error :   "content is
not allowed in prolog ".

My content is :

 Content-Type:multipart/related
boundary = "END_OF_PART"
Content-Length:777835
MIME-version: 1.0
Media multipart posting
--END_OF_PART
Content-Type: application/atom+xml
<entry xmlns='http://www.w3.org/2005/Atom'>
  <title>Penguins.jpg</title>
  <summary>Real cat wants attention too.</summary>
  <category scheme="http://schemas.google.com/g/2005#kind";
    term="http://schemas.google.com/photos/2007#photo"/>
</entry>
--END_OF_PART
Content-Type: image/jpeg
ÿØÿà   //// This is image in bytearray

Hope to have a reply soon..

-- 
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