title: Http Post Image data in C# .Net
body: <p>I have implemented a Restful web service in C# .Net and I want to enable users to upload images via this.</p>
  
  <p>What I currently have is a service that only accepts text data. Ideally I need to get an image from the user and store it in my database.</p>
  
  <pre><code>[OperationContract]
  [WebInvoke(UriTemplate = "/{key}", Method = "POST")]
  ResponseStatus InsertSensor(string key, Image image);
  </code></pre>
  
  <p>My question what is the most efficient way to do this?</p>
  
  <p>Many Thanks,</p>