Hiya, > How do you do PUT request by a browser? Encapsulate in POST? format > parameter?
Yup, POST with a parameter called "method_override=PUT". Same for DELETE as method_override=DELETE. (Although never ever use GET with method_override, of course; I've specifically disallowed this in my framework) From a browser there is no other option at the moment. But REST is far more than just browser integration; I do a lot of REST on the server2server side of things. > The same can be said for DELETE. Do you use javascript? I > have tried but not obtained a degradable approach... I can use JavaScript, but I wouldn't necessary recomend it as exposing it through JavaScript expose your infrastructure just a tad more to the script-kiddies. :) Alex -- --------------------------------------------------------------------------- Project Wrangler, SOA, Information Alchemist, UX, RESTafarian, Topic Maps ------------------------------------------ http://shelter.nu/blog/ --------
