I\'m implementing a prototype of a RESTful API using ASP.NET MVC and apart from the odd bug here and there I\'ve achieve all the requirements I set out at the start, apart f
Insert to Form:
<%= Html.HttpMethodOverride(HttpVerbs.Delete) %>
The X-HTTP-Method-Override
is a custom header and most likely isn't supported by your web container.
Are you calling this from a web page? If so, you should probably use XmlHttpRequest
with DELETE
(or whatever verb you want). Better yet, use a JS framework to do the heavy lifting for you.