W3C home > Mailing lists > Public > www-archive@w3.org > December 2002

Re: POST in REST

From: Aaron Swartz <me@aaronsw.com>
Date: Mon, 2 Dec 2002 15:21:24 -0600
Cc: Jeff Bone <jbone@deepfile.com>, jbone@jump.net, www-archive@w3.org
To: Sandro Hawke <sandro@w3.org>
Message-Id: <02D54B24-063C-11D7-9731-003065F376B6@aaronsw.com>

On Monday, December 2, 2002, at 02:52  PM, Sandro Hawke wrote:
>> GET: cat foo
>> (or if CGI: ./foo --arg1=val1 --arg2=val2 ...)
>> PUT: cat > foo
>> DELETE: rm foo
>> POST: cat | foo
>
> If I squint and wave my hands, that works, but looking more closely
> this approach constrains foo to be both end-user content and
> system-executable content.

How so? Something that accepts POST is considered a CGI in the get case:

./foo
cat > foo
rm foo
cat | foo

These are all reasonable things to do with system-executable content.
-- 
Aaron Swartz [http://www.aaronsw.com]
Received on Monday, 2 December 2002 16:21:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:24 GMT