Re:REST Anti-patterns
by 33degrees on Monday September 12, 2016 @12:55PM
(#12481369)
Yes, it should have been a noun, because a URL is a Uniform Resource Locator, and a verb is not a resource. HTTP methods are for verbs. Sometimes this can lead to strange URLs, but applying the noun/verb rule consistently does simplify things.
One thing that helps is not nesting resources too deep, to avoid having really long URLS.
One thing that helps is not nesting resources too deep, to avoid having really long URLS.