How to send a PUT/DELETE request in jQuery?

前端 未结 13 2418
别跟我提以往
别跟我提以往 2020-11-22 12:54

GET:$.get(..)

POST:$.post()..

What about PUT/DELETE?

13条回答
  •  半阙折子戏
    2020-11-22 13:26

    I've written a jQuery plugin that incorporates the solutions discussed here with cross-browser support:

    https://github.com/adjohnson916/jquery-methodOverride

    Check it out!

提交回复
热议问题