Sorry, but browsers absolutely support arbitrary HTTP methods, and have since IE6. XMLHttpRequest, have you heard of it?
Also, REST != PUT + DELETE. Don't get hung up on it, they're just surface-level niceties. The real point is to not mix up GET & POST, to be careful about state and idempotence.
Re:Your Web Service Might Not Be RESTful If…
by codyrobbins on Monday July 20, 2009 @02:50AM
(#714075)
General problem is not getting the clients to change but get all the clients to change at same time. Or else you will end up hosting multiple versions of webservice. In enterprise setup its really hard as each organization can have different processes to be followed and value proposition for switching to new version of webservice may not be same for each client.
Re:Your Web Service Might Not Be RESTful If…
by psadauskas on Monday July 20, 2009 @12:32PM
(#714641)
I agree, that REST is (slightly) less appealing if your only clients are browsers. However, my main gripe is with XML/JSON API's designed for clients other than browsers.
The author also conveniently ignores a glaring detail that always makes me angry when people talk about REST as something people should adopt. The simple fact is that browsers don't support REST — no browser supports the PUT or DELETE methods, not to mention other things in the stack like the web server. Yes, Rails has built-in support for REST, but it's accomplished via a disgusting hack whereby hidden form variables are sent to mimic non-supported verbs.
I've always felt that saying that people should adopt REST when browsers don't even support it is like saying people should switch to wind power when there are no wind farms producing it. Nice in theory, but not practical and far more trouble than it's worth.