News for hackers. Stuff that matters.
Re:REST isn't what you think it is, and that's OK by IgorPartola on Thursday April 29, 2010 @09:46AM (#1304350)
I was under the impression that HTTP was only a one example of RESTful system. The OP suggests that HTTP verbs must be used to interact with a RESTful API.
Re:REST isn't what you think it is, and that's OK by DougWebb on Thursday April 29, 2010 @11:56AM (#1304870)
Uniform methods are an important aspect of a RESTful system, just as important as Uniform Resource Identifiers. The client of the system has to know what the methods are, so if you define your own methods you put a burden on clients to implement those methods in order to use your service. HTTP provides a set of methods that are sufficient for most RESTful services, and the methods in HTTP are widely implemented in existing libraries. Base your service on HTTP's methods and you've enabled a huge number of clients to use your service.
Re:REST isn't what you think it is, and that's OK by bmason on Thursday April 29, 2010 @06:46PM (#1306381)
It's not so much that HTTP itself is RESTful. It's more that using HTTP's existing functionality instead of reinventing your own is RESTful. REST is a set of design principles for building software on top of HTTP.