POSTing image from Android to WCF Rest Service

admin

Administrator
Staff member
Hi Im using the following code:
<a href="http://vikaskanani.wordpress.com/2011/01/11/android-upload-image-or-file-using-http-post-multi-part/" rel="nofollow">http://vikaskanani.wordpress.com/2011/01/11/android-upload-image-or-file-using-http-post-multi-part/</a>

To POST an image to a WCF Rest service. I do not know how do configure the WCF Rest Service, can you help?
My current interface looks like this:

Code:
[OperationContract]
[WebInvoke(BodyStyle = WebMessageBodyStyle.Bare,
           UriTemplate = "SaveImage",
           Method = "POST")]
void SaveImage();

Which does not work... might contain several errors?