Re: URI design, part 2

Mike Schinkel <[email protected]>
Newsgroups gmane.comp.web.services.rest
Message-ID <[email protected]>
On Dec 1, 2012, at 9:21 PM, Max Toro <[email protected]> wrote:
> PUT /orders/1/status
> Canceled

+1

As an aside you'll find maintenance and validation easier if your status values are all lowercase (all upper would be okay too, but uglier.) 

Has nothing to do with REST, it's just easier to deal with when you don't have to worry what is the proper casing of status values. FWIW.

-Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.