Re: REST; good for humans and machines

Walden Mathews <[email protected]>
Newsgroups gmane.comp.web.services.ws-arch
Message-ID <007001c2b53d$303f9120$1702a8c0@WorkGroup>
> You mean the distinction between getLastShardPriceOfIBM and
> http://www.stockquotes.com/ibm/lastsharedprice (typo repeated)?
>
> In the first case the service can report that the operation is unknown and
> list all (say 10?) operations it supports.
>
> In the second case the service can report that the URI is unknown and list
> all (10,000?) URIs it knows of.

Any reason for choosing those particular numbers?

>
> Not that it makes one typo superior to the other, but perhaps there's some
> hidden distinction here that could actually represent a compelling
argument
> to favor one approach over the other in a different, less marginal, use
> case.

Well, if I (as client) lifted that string out of  a response I just received
a few
milliseconds ago, it would seem to stand a high chance of being the correct
string.  But there are other ways of getting it correct also.  That's the
distinction
that I value.

Walden
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.