Is it possible to trigger an HTTP DELETE request from an HTML form?

后端 未结 2 1397
被撕碎了的回忆
被撕碎了的回忆 2021-01-07 23:23

I have an ASP.NET MVC project and I have a single action that accepts GET, POST, and DELETE requests. Each type of request is filtered via attributes on my controllers

2条回答
  •  独厮守ぢ
    2021-01-07 23:39

    Using XMLHttpRequest, it's not only the "best practice", it's really the only way.

提交回复
热议问题