<?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: RESTful design and the HTTP request</title>
	<atom:link href="http://jonathanng.com/technology/restful-design-and-the-http-request/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonathanng.com/technology/restful-design-and-the-http-request/</link>
	<description>class AllYourCode &#60; Us</description>
	<lastBuildDate>Mon, 28 Jun 2010 23:07:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Gavin</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-552</link>
		<dc:creator>Gavin</dc:creator>
		<pubDate>Mon, 04 Aug 2008 15:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-552</guid>
		<description>ReST = &quot;Representational State Transfer&quot; - I believe it was coined by Roy Fielding</description>
		<content:encoded><![CDATA[<p>ReST = &#8220;Representational State Transfer&#8221; &#8211; I believe it was coined by Roy Fielding</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rails Relationships &#124; ruby on rails blog</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-492</link>
		<dc:creator>Rails Relationships &#124; ruby on rails blog</dc:creator>
		<pubDate>Sun, 20 Jul 2008 03:44:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-492</guid>
		<description>[...] RESTful design and the HTTP request [...]</description>
		<content:encoded><![CDATA[<div style="padding: 1em; padding-left: 20px; background-color: #FFFF95; color: darkred">
<p>[...] RESTful design and the HTTP request [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoel Villarreal</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-432</link>
		<dc:creator>Yoel Villarreal</dc:creator>
		<pubDate>Wed, 25 Jun 2008 17:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-432</guid>
		<description>upsss the code

&lt;a href=&quot;/books/2&quot; rel=&quot;nofollow&quot;&gt;Destroy&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>upsss the code</p>
<p><a href="/books/2" rel="nofollow">Destroy</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoel Villarreal</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-431</link>
		<dc:creator>Yoel Villarreal</dc:creator>
		<pubDate>Wed, 25 Jun 2008 17:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-431</guid>
		<description>Hello Jonathan... as somebody says before I can&#039;t stop reading your posts... I&#039;m from Cuba and have learned a lot from you. Keep writing those RoR &quot;Best Sellers&quot; and you&#039;ll get so far...

&lt;code&gt;
&lt;a href=&quot;/books/2&quot; rel=&quot;nofollow&quot;&gt;Destroy&lt;/a&gt;
&lt;/code&gt;

There is an attribute _method for the input element (m) which value is delete...
I&#039;m using Firefox 3 over Debian lenny...

Hope you excuse my english.</description>
		<content:encoded><![CDATA[<p>Hello Jonathan&#8230; as somebody says before I can&#8217;t stop reading your posts&#8230; I&#8217;m from Cuba and have learned a lot from you. Keep writing those RoR &#8220;Best Sellers&#8221; and you&#8217;ll get so far&#8230;</p>
<p><code><br />
<a href="/books/2" rel="nofollow">Destroy</a><br />
</code></p>
<p>There is an attribute _method for the input element (m) which value is delete&#8230;<br />
I&#8217;m using Firefox 3 over Debian lenny&#8230;</p>
<p>Hope you excuse my english.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alonso Robles</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-388</link>
		<dc:creator>Alonso Robles</dc:creator>
		<pubDate>Mon, 09 Jun 2008 18:01:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-388</guid>
		<description>love the tutorials... i was a bit cuirious about the &quot;destroy&quot; link generating a DELETE request so i took a look at the source... i havent seen the DELETE requests used very often as they are not commonly implemented on the service side. Anyway, my generated html source code for the link looks like this:

a href=&quot;/books/1&quot; onclick=&quot;if (confirm(&#039;Are you sure?&#039;)) { var f = document.createElement(&#039;form&#039;); f.style.display = &#039;none&#039;; this.parentNode.appendChild(f); f.method = &#039;POST&#039;; f.action = this.href;var m = document.createElement(&#039;input&#039;); m.setAttribute(&#039;type&#039;, &#039;hidden&#039;); m.setAttribute(&#039;name&#039;, &#039;_method&#039;); m.setAttribute(&#039;value&#039;, &#039;delete&#039;); f.appendChild(m);var s = document.createElement(&#039;input&#039;); s.setAttribute(&#039;type&#039;, &#039;hidden&#039;); s.setAttribute(&#039;name&#039;, &#039;authenticity_token&#039;); s.setAttribute(&#039;value&#039;, &#039;c5bdd13d76321b12765d812785990517ef070bf5&#039;); f.appendChild(s);f.submit(); };return false;&quot;&gt;Destroy&lt;/a&gt;

taking a closer look at the link it looks like the javascript is creating an HTML form on the fly and submitting is a POST request (not a DELETE as you mentioned)

i could be wrong... and if i am i would very much like to understand how the html and javascript ask the browser to generate a DELETE request. not sure that it matters but i used IE7 on a Windows Vista (64-bit) box. 

thanks again for your tutorials... i have learned a ton from them.</description>
		<content:encoded><![CDATA[<p>love the tutorials&#8230; i was a bit cuirious about the &#8220;destroy&#8221; link generating a DELETE request so i took a look at the source&#8230; i havent seen the DELETE requests used very often as they are not commonly implemented on the service side. Anyway, my generated html source code for the link looks like this:</p>
<p>a href=&#8221;/books/1&#8243; onclick=&#8221;if (confirm(&#8216;Are you sure?&#8217;)) { var f = document.createElement(&#8216;form&#8217;); f.style.display = &#8216;none&#8217;; this.parentNode.appendChild(f); f.method = &#8216;POST&#8217;; f.action = this.href;var m = document.createElement(&#8216;input&#8217;); m.setAttribute(&#8216;type&#8217;, &#8216;hidden&#8217;); m.setAttribute(&#8216;name&#8217;, &#8216;_method&#8217;); m.setAttribute(&#8216;value&#8217;, &#8216;delete&#8217;); f.appendChild(m);var s = document.createElement(&#8216;input&#8217;); s.setAttribute(&#8216;type&#8217;, &#8216;hidden&#8217;); s.setAttribute(&#8216;name&#8217;, &#8216;authenticity_token&#8217;); s.setAttribute(&#8216;value&#8217;, &#8216;c5bdd13d76321b12765d812785990517ef070bf5&#8242;); f.appendChild(s);f.submit(); };return false;&#8221;&gt;Destroy</p>
<p>taking a closer look at the link it looks like the javascript is creating an HTML form on the fly and submitting is a POST request (not a DELETE as you mentioned)</p>
<p>i could be wrong&#8230; and if i am i would very much like to understand how the html and javascript ask the browser to generate a DELETE request. not sure that it matters but i used IE7 on a Windows Vista (64-bit) box. </p>
<p>thanks again for your tutorials&#8230; i have learned a ton from them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-290</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 15 May 2008 03:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-290</guid>
		<description>very nice tutorials..hope we can learn more here..thanks!</description>
		<content:encoded><![CDATA[<p>very nice tutorials..hope we can learn more here..thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dieter</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-274</link>
		<dc:creator>Dieter</dc:creator>
		<pubDate>Sun, 11 May 2008 09:27:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-274</guid>
		<description>I just can&#039;t stop reading! ;-)</description>
		<content:encoded><![CDATA[<p>I just can&#8217;t stop reading! <img src='http://jonathanng.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srikanth</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-228</link>
		<dc:creator>Srikanth</dc:creator>
		<pubDate>Sat, 03 May 2008 04:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-228</guid>
		<description>Like the way you try to explain. Very clear tutorials..</description>
		<content:encoded><![CDATA[<p>Like the way you try to explain. Very clear tutorials..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GonZoo</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-226</link>
		<dc:creator>GonZoo</dc:creator>
		<pubDate>Fri, 02 May 2008 09:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-226</guid>
		<description>thanks a lot man, good work!</description>
		<content:encoded><![CDATA[<p>thanks a lot man, good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitch</title>
		<link>http://jonathanng.com/technology/restful-design-and-the-http-request/comment-page-1/#comment-221</link>
		<dc:creator>Mitch</dc:creator>
		<pubDate>Wed, 30 Apr 2008 14:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.jonathansng.com/?p=144#comment-221</guid>
		<description>Continue posting please. I love the way you explain these technical concepts.</description>
		<content:encoded><![CDATA[<p>Continue posting please. I love the way you explain these technical concepts.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
