W3C home > Mailing lists > Public > www-tag@w3.org > April 2002

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

From: Mark Baker <distobj@acm.org>
Date: Wed, 24 Apr 2002 15:23:00 -0400
To: Tim Bray <tbray@textuality.com>
Cc: www-tag@w3.org
Message-ID: <20020424152300.J2625@www.markbaker.ca>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:06 GMT