Re: [WhenToUseGet-7] oops, thinko in URLencoding proposal

On Wed, Apr 24, 2002 at 08:05:36AM -0700, Tim Bray wrote:
> http://example.org/SoapGet?ns=/2001/06/quotes&Serv=GetLastTradingPrice&Symbol=DEF

I would also suggest that a convention can be established that any
method beginning with "[gG][e][t][A-Z]", that it could be trimmed.
Ditto for "[sS][e][t][A-Z]" (set).  So you'd have;

http://example.org/SoapGet?ns=/2001/06/quotes&Serv=LastTradingPrice&Symbol=DEF

The benefit of this is that it makes sense if you wanted to invoke PUT
on it, to set the value (say, if you were the stock market).  Plus if
there were a setLastTradingPrice method, it would map to the same URI,
as it should.

A mostly syntactic suggestion, but hopefully illustrative of what the
RPC->REST mapping entails.

MB
-- 
Mark Baker, Chief Science Officer, Planetfred, Inc.
Ottawa, Ontario, CANADA.      mbaker@planetfred.com
http://www.markbaker.ca   http://www.planetfred.com

Received on Wednesday, 24 April 2002 15:16:13 UTC