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: 170

Filed under:
|
|

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...

  1. 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?

  2. 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

Related posts about jQuery

Related posts about rest