How to send a PUT/DELETE request in jQuery?

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

GET:$.get(..)

POST:$.post()..

What about PUT/DELETE?

13条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-22 13:26

    ajax()

    look for param type

    Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers.

提交回复
热议问题