News for hackers. Stuff that matters.
Re:Dudes, this is so not REST by Darrel on Tuesday March 15, 2011 @05:04PM (#2329385)
All query string parameters are used to identify the resource also. RFC 3986 states "The query component contains non-hierarchical data that, along with data in the path component (Section 3.3), serves to identify a resource within the scope of the URI's scheme and naming authority (if any)."

There is absolutely no difference between path segments and query parameters from the perspective of resource identification.

Re:Dudes, this is so not REST by swombat on Wednesday March 16, 2011 @05:12AM (#2331370)
Then the RFC has defined a fairly useless standard. Wouldn't be the first time.
Re:Dudes, this is so not REST by Robin_Message on Wednesday March 16, 2011 @10:43AM (#2332196)
A good rule of thumb here seems to be to put identity in the path and other things in the query string. For example, to search for items with property foo equal to 12 in the music collection known as bar, the url would be /music/bar?foo=12