Here is a bit of my post creation:

var url = 
@"https://picasaweb.google.com/data/feed/api/user/10603....7987/albumid/5706494492383604833";;
  HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
  request.Method = "POST";
  request.ContentType = "image/jpeg\n";
  request.Headers.Add("GData-Version", "2");
  request.Headers.Add("Authorization", "GoogleLogin 
Auth=DQAAAMQAAACp.....DopWZD19Vd3mF3rZRsg");



Here is the mangled xml I get in the response body: 

<?xml version='1.0' encoding='UTF-8'?><entry 
xmlns='http://www.w3.org/2005/Atom' 
xmlns:exif='http://schemas.google.com/photos/exif/2007' 
xmlns:app='http://www.w3.org/2007/app' 
xmlns:gphoto='http://schemas.google.com/photos/2007' 
xmlns:media='http://search.yahoo.com/mrss/' 
xmlns:gd='http://schemas.google.com/g/2005' gotos=''/2007' 
xmlns:media='http://search.yahoo.com/mrss/' 
xmlns:gd='http://schemas.god:etag='&quot;YD0qeyI.&quot;'><id>https://picasaweb.google.com/data/entry/user/1060308....987/albumid/57064....604833/photoid/570651....725522</id><published>2012-02-07T21:50:27.000Z</published><updated>2012-02-07T21:50:27.968Z</updated><app:edited>2012-02-07T21:50:27.968Z</app:edited><category
 scheme='http://schemas.google.com/g/2005#kind' 
term='http://schemas.google.com/photos/2007#photo'/><title>Sample 
Caption</title><summary/><content type='image/jpeg' 
src='https://lh6.googleusercontent.com/-KGriqZOqB6k/TzGcoyZx1FI/AAAAAAAAAYE/ECkvIumG2T8/Sample%252520Caption.jpg'/><link
 rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' 
href='https://picasaweb.google.com/data/feed/api/user/106030....7987/albumid/5706....4833/photoid/5706514....522?authkey=Gv1sRgCKLb0-Tmt9ryTQ'/><link
 rel='alternate' type='text/html' 
href='https://picasaweb.google.com/10603....977987/Test?authkey=Gv1sRgCKLb0-Tmt9ryTQ#5706514427393725522'/><link
 rel='http://schemas.google.com/photos/2007#canonical' type='text/html' 
href='https://picasaweb.google.com/lh/photo/jSyZCvPwx6hiP4LwtxR6pFudpKrwy1ve8JInWJJo8Ds'/><link
 rel='self' type='application/atom+xml' 
href='https://picasaweb.google.com/data/entry/api/user/106030....7987/albumid/5706494....833/photoid/57065144273937255.com/data/entry/api/user/10603....7987/albumid/57064....833/22?authkey=Gv1sRgCKLb0-Tmt9ryTQ'/><link
 rel='edit' type='application/atom+xml' 
href='https://picasaweb.google.com/data/entry/api/user/1060....2977987/albumid/5706....833/photoid/5706514427393725522?authkey=Gv1sRgCKLb0-Tmt9ryTQ'/><link
 rel='edit-media' type='image/jpeg' 
href='https://picasaweb.google.com/data/media/api/user/1060....77987/albumid/570649....4833/photoid/5706514427393725522?authkey=Gv1sRgCKLb0-Tmt9ryTQ'/><link
 rel='http://schemas.google.com/photos/2007#report' type='text/html' 
href='https://picasaweb.google.com/lh/reportAbuse?uname=106030858....987&amp;aid=5706494....4833&amp;iid=570651....5522'/><gphoto:id>5706514427393725522</gphoto:id><gphoto:albumid>5706494492383604833</gphoto:albumid><gphoto:access>private</gphoto:access><gphoto:width>3076</gphoto:width><gphoto:height>3562</gphoto:height><gphoto:size>893287</gphoto:size><gphoto:checksum/><gphoto:timestamp>1327092141000</gphoto:timestamp><gphoto:imageVersion>385</gphoto:imageVersion><gphoto:commentingEnabled>true</gphoto:commentingEnabled><gphoto:commentCount>0</gphoto:commentCount><gphoto:license
 id='0' name='All Rights Reserved' 
url=''>ALL_RIGHTS_RESERVED</gphoto:license><exif:tags>  
<exif:fstop>4.0</exif:fstop>  <exif:make>Canon</exif:make>  <exif:model>Canon 
EOS 7D</exif:model>  <exif:distance>
    19.1</e</exif:fstop><exif:make>Canon</exif:make><exif:model>
      Canon EOS 
7D</exif:modxif:distance><exif:exposure>0.002</exif:exposure><exif:flash>false</exif:flash><exif:focallength>73.0</exif:focallength>
      
<exif:iso>3200</exif:iso><exif:time>1327092141000</exif:time><exif:imageUniqueID>1f0dca7b19....5ad359</exif:imageUniqueID></exif:tags><media:group>
  <media:content 
url='https://lh6.googleusercontent.com/-KGriqZOqB6k/TzGcoyZx1FI/AAAAAAAAAYE/ECkvIumG2T8/Sample%252520Caption.jpg'
 height='512' width='443' type='image/jpeg' medium='image'/>  
<media:credit>xxxxx xxxxxxxx</media:credit>  <media:description type='plain'/>  
<media:keywords/>  <media:thumbnail 
url='https://lh6.googleusercontent.com/-KGriqZOqB6k/TzGcoyZx1FI/AAAAAAAAAYE/ECkvIumG2T8/s72/Sample%252520Caption.jpg'
 height='72' width='63'/>  <media:thumbnail 
url='https://lh6.googleusercontent.com/-KGriqZOqB6k/TzGcoyZx1FI/AAAAAAAAAYE/ECkvIumG2T8/s144/Sample%252520Caption.jpg'
 height='144' width='125'/>  <media:thumbnail 
url='https://lh6.googleusercontent.com/-KGriqZOqB6k/TzGcoyZx1FI/AAAAAAAAAYE/ECkvIumG2T8/s288/Sample%252520Caption.jpg'
 height='288' width='249'/>  <media:title type='plain'>Sample 
Caption</media:title></media:group></entry>ight='288' width='249'/><media:title 
type='plain'>Sample Caption</media:title></m

-- 
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-picasa-data-api/-/EYh_rGhVRSgJ.
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