Search code examples
asp.netasp.net-mvchttp-put

Method to trick ASP.NET to process HTTP PUT as POST?


I have a web cam that can send an image via HTTP PUT to a web server. I'd like to process this in ASP.NET MVC, but it doesn't natively support PUT. Is there any way to trick it into treating the request as a POST? I'm looking to get the Request.Form and Request.Files properties populated.


Solution

  • This does not appear to be possible. I've just used the Request.InputStream to read in a bitmap directly.