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

 
他にご質問がございましたら、リクエストを送信してください

コメント

 
Adding comment, please wait....

Provide Feedback on Article:

Subject:
Comments:*
Powered by Zendesk