<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Difficulty PUTting up with REST</title>
	<atom:link href="http://parand.com/say/index.php/2005/12/27/difficulty-putting-up-with-rest/feed/" rel="self" type="application/rss+xml" />
	<link>http://parand.com/say/index.php/2005/12/27/difficulty-putting-up-with-rest/</link>
	<description>Parand Tony Darugar: A Cruel and Petty Dictator</description>
	<lastBuildDate>Tue, 17 Jan 2012 23:10:42 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Crash course in sane Web programming</title>
		<link>http://parand.com/say/index.php/2005/12/27/difficulty-putting-up-with-rest/comment-page-1/#comment-43605</link>
		<dc:creator>Crash course in sane Web programming</dc:creator>
		<pubDate>Tue, 13 Mar 2007 02:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.parand.com/say/index.php/2005/12/27/difficulty-putting-up-with-rest/#comment-43605</guid>
		<description>[...] As to why this might not work, see what Parand had to say about it. [...]</description>
		<content:encoded><![CDATA[<p>[...] As to why this might not work, see what Parand had to say about it. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Radcliff</title>
		<link>http://parand.com/say/index.php/2005/12/27/difficulty-putting-up-with-rest/comment-page-1/#comment-2221</link>
		<dc:creator>Chris Radcliff</dc:creator>
		<pubDate>Wed, 28 Dec 2005 18:49:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.parand.com/say/index.php/2005/12/27/difficulty-putting-up-with-rest/#comment-2221</guid>
		<description>I&#039;m right there with you.  We went through the same process when deciding how to do the EVDB API (http://api.evdb.com/docs).  We ended up going with a RESTful but not RESTafarian implementation, basically adding the verb to the URL instead of using HTTP actions as verbs, plus removing the object ID from the URL and shifting it to the query string.  Thus:

http://host/rest/noun(s)/verb?id=ID
e.g. http://api.evdb.com/rest/users/locales/list?id=chris_radcliff

I&#039;m sure there was some ideologically pure way of constructing all of our methods using HTTP verbs, but we made the decision to do it this way in order to make it easier for us to develop, test, and explain.  We&#039;re still getting all the benefits of REST, as far as we can tell.</description>
		<content:encoded><![CDATA[<p>I&#8217;m right there with you.  We went through the same process when deciding how to do the EVDB API (<a href="http://api.evdb.com/docs)" rel="nofollow">http://api.evdb.com/docs)</a>.  We ended up going with a RESTful but not RESTafarian implementation, basically adding the verb to the URL instead of using HTTP actions as verbs, plus removing the object ID from the URL and shifting it to the query string.  Thus:</p>
<p><a href="http://host/rest/noun(s)/verb?id=ID" rel="nofollow">http://host/rest/noun(s)/verb?id=ID</a><br />
e.g. <a href="http://api.evdb.com/rest/users/locales/list?id=chris_radcliff" rel="nofollow">http://api.evdb.com/rest/users/locales/list?id=chris_radcliff</a></p>
<p>I&#8217;m sure there was some ideologically pure way of constructing all of our methods using HTTP verbs, but we made the decision to do it this way in order to make it easier for us to develop, test, and explain.  We&#8217;re still getting all the benefits of REST, as far as we can tell.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Baker</title>
		<link>http://parand.com/say/index.php/2005/12/27/difficulty-putting-up-with-rest/comment-page-1/#comment-2213</link>
		<dc:creator>Mark Baker</dc:creator>
		<pubDate>Wed, 28 Dec 2005 05:16:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.parand.com/say/index.php/2005/12/27/difficulty-putting-up-with-rest/#comment-2213</guid>
		<description>&quot;Did I get that right? Isnâ€™t that very not REST?&quot;

Yup.  This is a pretty common bug in many web app frameworks.  CGI does it (unless you know to look for the method).  Zope does it.  Ruby on rails does (did) it.  Others too...

As for recommendations re PUT, see;

http://www.intertwingly.net/wiki/pie/PutDeleteSupport
http://www.intertwingly.net/wiki/pie/CarrotVsOrange</description>
		<content:encoded><![CDATA[<p>&#8220;Did I get that right? Isnâ€™t that very not REST?&#8221;</p>
<p>Yup.  This is a pretty common bug in many web app frameworks.  CGI does it (unless you know to look for the method).  Zope does it.  Ruby on rails does (did) it.  Others too&#8230;</p>
<p>As for recommendations re PUT, see;</p>
<p><a href="http://www.intertwingly.net/wiki/pie/PutDeleteSupport" rel="nofollow">http://www.intertwingly.net/wiki/pie/PutDeleteSupport</a><br />
<a href="http://www.intertwingly.net/wiki/pie/CarrotVsOrange" rel="nofollow">http://www.intertwingly.net/wiki/pie/CarrotVsOrange</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

