News for hackers. Stuff that matters.
Re:Explaining REST to Damien Katz by tlrobinson on Sunday August 17, 2008 @04:36PM (#278585)
Agreed. I think there's a couple issues that cause confusion.

Yes, REST advocates say your URLs should be for "resources" not "methods", but sometimes the distinction is blurry. For example, a Google search: http://www.google.com/search?q=restful

Is www.google.com/search a "resource" or a "method"? I would call it a method, but it's also sort of a resource. I can't think of any way to make it more "resource oriented".

Re:Explaining REST to Damien Katz by bct on Sunday August 17, 2008 @07:21PM (#278697)
> Is www.google.com/search a "resource" or a "method"?

You can look at it either way, but it's a perfectly fine resource.

Re:Explaining REST to Damien Katz by jsdalton on Sunday August 17, 2008 @05:10PM (#278612)
It's more like a collection or list of resources, and the search term is a filter on that collection.