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

Re: POST in REST

From: Aaron Swartz <me@aaronsw.com>
Date: Sun, 1 Dec 2002 09:47:19 -0600
Cc: Sandro Hawke <sandro@w3.org>, jbone@jump.net, www-archive@w3.org
To: Jeff Bone <jbone@deepfile.com>
Message-Id: <2C88DA24-0544-11D7-9731-003065F376B6@aaronsw.com>

Jeff Bone wrote:
> GET:  someprog < foo
> PUT:  somestuff > foo
> DELETE:  rm foo
> POST:  somestuff >> foo

I've always said:

GET: cat foo
(or if CGI: ./foo --arg1=val1 --arg2=val2 ...)
PUT: cat > foo
DELETE: rm foo
POST: cat | foo

Writing an implementation of a generic foo is on my todo list:
     http://www.aaronsw.com/projects#ucspi-http

-- 
Aaron Swartz [http://www.aaronsw.com]
Received on Sunday, 1 December 2002 10:47:21 GMT

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