I have a web application. I am using C#. I have existing methods in my API for various things but all only submit and return bool/int/strings.
All of my API methods have the directive
System.ServiceModel.OperationContract
All the parameters are of
System.Runtime.Serialization.DataMember
I would like to be able to receive a posted file over HTTP. Apologies if this is a very simple question, but I'm not sure where to start so I don't know what to google. All I've been finding is people attempting to save a HttpPostedFile after submitting it in a form.
Thanks in advance for any help.
EDIT: this will be called from an iPhone application. Not via the browser on the iPhone
Basically, I would like to do this: http://www.flickr.com/services/api/upload.api.html