On 7/20/11 12:28 PM, "Bill Janssen" <jans...@parc.com> wrote: > >A couple of good rules-of-thumb to keep in mind: > >1. URIs name objects; they do not name actions. So if you've got > requests like "GET /foo/getAuthors?doc=bar", you're doing it wrong. > It should be something like "GET /foo/doc/bar?field=authors", or > even better, "GET /foo/doc/bar/authors".
I would also add that URLs like GET /foo/search?q="books" are perfectly RESTful, as long as they are pointing to an algorithmic resource, like a search or some kind of calculation. Aaron