asp.net mvc got 405 error on HTTP DELETE request?

Posted by DucDigital on Stack Overflow See other posts from Stack Overflow or by DucDigital
Published on 2009-11-19T03:00:09Z Indexed on 2010/06/15 16:02 UTC
Read the original article Hit count: 286

Hi everyone...

Im trying to pass the DELETE to a url in asp.net mvc using Javascript but however i always got "405 Method not allow" return.

is there anyway to make this work?

FYI: i've put the [AcceptVerb(HttpVerb.Delete)] attribute on my controller.

DELETE /post/delete/8

this is the request

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about restful