How to do REST with PUT and DELETE
Posted
by Svish
on Stack Overflow
See other posts from Stack Overflow
or by Svish
Published on 2010-06-14T17:51:32Z
Indexed on
2010/06/14
18:02 UTC
Read the original article
Hit count: 175
It says about the type
option of the jQuery.ajax() method that
The type of request to make ("POST" or "GET"), default is "GET". Note: Other HTTP request methods, such as PUT and DELETE, can also be used here, but they are not supported by all browsers.
So...
Does that mean that PUT and DELETE won't work if the browser does not support it, or just that PUT and DELETE can not be done natively by the user in the browser?
If I can't or shouldn't use those, what do people usually do instead? Send the method as a a GET or POST parameter instead? Or?
© Stack Overflow or respective owner