Hi Mark, Thanks a ton for your response. The message says 'The remote server returned an error: (400) Bad Request' and here is the stack trace :
at System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result) [0x0033b] in /private/tmp/source-mono-mac-3.12.0-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.0/mcs/class/System/System.Net/HttpWebRequest.cs:1718 at System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data) [0x00165] in /private/tmp/source-mono-mac-3.12.0-branch-32/bockbuild-mono-3.12.0-branch/profiles/mono-mac-xamarin/build-root/mono-3.12.0/mcs/class/System/System.Net/HttpWebRequest.cs:1485 No luck in finding anything from the response. Another issue I have is, the post 'data' part of the request expects binary image data value after "Content-Type: image/jpeg" statement which I am leaving blank there and then writing the image data using a stream. I think that is the root of the issue. Now I am unable to figure out how I am suppose to append the binary data in the 'post' variable which is string. I tried converting the binary data to string but no luck :( This is the very first mutipart request I have written so may be due to less experience I am missing the technique. If I get the format correct the issue will be resolved. I really want this request to work since everything working from loading album, album creation,photo upload without metadata except this. Unfortunately there is no C# client library like Java :(, all the requests needs to be raw written. I will try using IKVM too. Thanks again. > > > > > -- You received this message because you are subscribed to the Google Groups "Google Picasa Web Albums API" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-picasa-data-api. For more options, visit https://groups.google.com/d/optout.
