2 ms·
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 dist
by tlrobinson 18y ago
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 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".