Back to top
 
 
 

Simulating PUT and DELETE

When using browsers or other clients that do not support the PUT and DELETE methods, the parameter _method may be used along with a POST request to request the server to treat the request as a PUT or DELETE.

For example, to simulate a delete of order 21 you would use:

POST/orders/21?_method=DELETE

 

Comments