I'm 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
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…