<?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: REST-esting with cURL</title>
	<atom:link href="http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/</link>
	<description>It&#039;s easy if you know how</description>
	<lastBuildDate>Tue, 18 Oct 2011 14:25:40 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: EddieS</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-2029</link>
		<dc:creator>EddieS</dc:creator>
		<pubDate>Tue, 18 Oct 2011 14:25:40 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-2029</guid>
		<description>A few aliases for bash if you&#039;re lazy like me ;)

&lt;code&gt;
#= REST cURL tests

# rest-get http://192.168.0.165/persons/person/1
alias rest-get=&quot;curl -i -H \&quot;Accept: application/json\&quot;&quot;

# rest-post &quot;firstName=james&quot; http://192.168.0.165/persons/person
alias rest-post=&quot;curl -i -H \&quot;Accept: application/json\&quot; -X POST -d &quot;

# rest-put &quot;phone=1-800-999-9999&quot; http://192.168.0.165/persons/person/1
alias rest-put=&quot;curl -i -H \&quot;Accept: application/json\&quot; -X PUT -d &quot;

# rest-delete http://192.168.0.165/persons/person/1
alias rest-delete=&quot;curl -i -H \&quot;Accept: application/json\&quot; -X DELETE &quot;

# rest-post-put &quot;phone=1-800-999-9999&quot; http://192.168.0.165/persons/person/1
alias rest-post-put=&quot;curl -i -H \&quot;Accept: application/json\&quot; -H \&quot;X-HTTP-Method-Override: PUT\&quot; -X POST -d &quot;

# rest-post-delete http://192.168.0.3:8090/persons/person/1
alias rest-post-delete=&quot;curl -i -H \&quot;Accept: application/json\&quot; -H \&quot;X-HTTP-Method-Override: DELETE\&quot; -X POST &quot; 
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>A few aliases for bash if you&#8217;re lazy like me <img src='http://blogs.plexibus.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><code><br />
#= REST cURL tests</p>
<p># rest-get <a href="http://192.168.0.165/persons/person/1" rel="nofollow">http://192.168.0.165/persons/person/1</a><br />
alias rest-get="curl -i -H \"Accept: application/json\""</p>
<p># rest-post "firstName=james" <a href="http://192.168.0.165/persons/person" rel="nofollow">http://192.168.0.165/persons/person</a><br />
alias rest-post="curl -i -H \"Accept: application/json\" -X POST -d "</p>
<p># rest-put "phone=1-800-999-9999" <a href="http://192.168.0.165/persons/person/1" rel="nofollow">http://192.168.0.165/persons/person/1</a><br />
alias rest-put="curl -i -H \"Accept: application/json\" -X PUT -d "</p>
<p># rest-delete <a href="http://192.168.0.165/persons/person/1" rel="nofollow">http://192.168.0.165/persons/person/1</a><br />
alias rest-delete="curl -i -H \"Accept: application/json\" -X DELETE "</p>
<p># rest-post-put "phone=1-800-999-9999" <a href="http://192.168.0.165/persons/person/1" rel="nofollow">http://192.168.0.165/persons/person/1</a><br />
alias rest-post-put="curl -i -H \"Accept: application/json\" -H \"X-HTTP-Method-Override: PUT\" -X POST -d "</p>
<p># rest-post-delete <a href="http://192.168.0.3:8090/persons/person/1" rel="nofollow">http://192.168.0.3:8090/persons/person/1</a><br />
alias rest-post-delete="curl -i -H \"Accept: application/json\" -H \"X-HTTP-Method-Override: DELETE\" -X POST "<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roshanallan</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-2026</link>
		<dc:creator>roshanallan</dc:creator>
		<pubDate>Fri, 23 Sep 2011 17:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-2026</guid>
		<description>&lt;blockquote cite=&quot;siva&quot;&gt;
i want to know how to use CURL to pass a Request body to a REST Server. when I send with -d I get an error “application/x-www-form-urlencoded” is not supported”
&lt;/blockquote&gt;
What REST server are you using? Check that the REST Resource you are invoking to confirm that it can accept POST methods</description>
		<content:encoded><![CDATA[<blockquote cite="siva"><p>
i want to know how to use CURL to pass a Request body to a REST Server. when I send with -d I get an error “application/x-www-form-urlencoded” is not supported”
</p></blockquote>
<p>What REST server are you using? Check that the REST Resource you are invoking to confirm that it can accept POST methods</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: siva</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-2025</link>
		<dc:creator>siva</dc:creator>
		<pubDate>Wed, 21 Sep 2011 21:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-2025</guid>
		<description>i want to know how to use CURL to pass a Request body to a REST Server. when I send with -d I get an error &quot;application/x-www-form-urlencoded&quot; is not supported&quot;</description>
		<content:encoded><![CDATA[<p>i want to know how to use CURL to pass a Request body to a REST Server. when I send with -d I get an error &#8220;application/x-www-form-urlencoded&#8221; is not supported&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roshanallan</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-2016</link>
		<dc:creator>roshanallan</dc:creator>
		<pubDate>Fri, 11 Mar 2011 05:24:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-2016</guid>
		<description>&lt;blockquote cite=&quot;Sameer&quot;&gt;
I am not able to use the delete command of CURL

curl -v -X DELETE http://198.45.22.153/gradeguru-api/me/grades/48?access_token=“access token”

The above command says Rcv failure, connection was reset, however if I use localhost in place of the above URL, it deletes the record.
&lt;/blockquote&gt;

Is 198.45.22.153 the IP address of your local machine (localhost)?
It could be due to the connection timing out. You may want to test further to figure out this issur</description>
		<content:encoded><![CDATA[<blockquote cite="Sameer"><p>
I am not able to use the delete command of CURL</p>
<p>curl -v -X DELETE <a href="http://198.45.22.153/gradeguru-api/me/grades/48?access_token=“access" rel="nofollow">http://198.45.22.153/gradeguru-api/me/grades/48?access_token=“access</a> token”</p>
<p>The above command says Rcv failure, connection was reset, however if I use localhost in place of the above URL, it deletes the record.
</p></blockquote>
<p>Is 198.45.22.153 the IP address of your local machine (localhost)?<br />
It could be due to the connection timing out. You may want to test further to figure out this issur</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roshanallan</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-2015</link>
		<dc:creator>roshanallan</dc:creator>
		<pubDate>Fri, 11 Mar 2011 05:08:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-2015</guid>
		<description>James,
I&#039;m not aware of any directory of various REST apis. But I can point you to websites that expose their application functions via REST. Google Storage is a good example. So is Netflix - http://developer.netflix.com/blog/read/Introducing_the_Netflix_API.</description>
		<content:encoded><![CDATA[<p>James,<br />
I&#8217;m not aware of any directory of various REST apis. But I can point you to websites that expose their application functions via REST. Google Storage is a good example. So is Netflix &#8211; <a href="http://developer.netflix.com/blog/read/Introducing_the_Netflix_API." rel="nofollow">http://developer.netflix.com/blog/read/Introducing_the_Netflix_API.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-2014</link>
		<dc:creator>james</dc:creator>
		<pubDate>Thu, 10 Mar 2011 00:55:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-2014</guid>
		<description>hi,
i am looking to run a small experiment on REST services, do you know of a directory of publicly available services, or any other way of gathering as many REST service addresses as possible?

thanks!

jnahon AT gmail DOT com</description>
		<content:encoded><![CDATA[<p>hi,<br />
i am looking to run a small experiment on REST services, do you know of a directory of publicly available services, or any other way of gathering as many REST service addresses as possible?</p>
<p>thanks!</p>
<p>jnahon AT gmail DOT com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-2013</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Thu, 24 Feb 2011 11:50:51 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-2013</guid>
		<description>The above command says Rcv failure, connection was reset, however if I use localhost in place of the above URL, it deletes the record.

Please help!</description>
		<content:encoded><![CDATA[<p>The above command says Rcv failure, connection was reset, however if I use localhost in place of the above URL, it deletes the record.</p>
<p>Please help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-2012</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Thu, 24 Feb 2011 11:49:36 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-2012</guid>
		<description>I am not able to use the delete command of CURL

curl -v -X DELETE  http://198.45.22.153/gradeguru-api/me/grades/48?access_token=&quot;access token&quot;</description>
		<content:encoded><![CDATA[<p>I am not able to use the delete command of CURL</p>
<p>curl -v -X DELETE  <a href="http://198.45.22.153/gradeguru-api/me/grades/48?access_token=" rel="nofollow">http://198.45.22.153/gradeguru-api/me/grades/48?access_token=</a>&#8220;access token&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hai Vu</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-1860</link>
		<dc:creator>Hai Vu</dc:creator>
		<pubDate>Thu, 13 May 2010 15:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-1860</guid>
		<description>Thank you for your concise post. It helps greatly, especially the POST request.</description>
		<content:encoded><![CDATA[<p>Thank you for your concise post. It helps greatly, especially the POST request.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Curious &#187; REST-esting with cURL: File Handling</title>
		<link>http://blogs.plexibus.com/2009/01/15/rest-esting-with-curl/comment-page-1/#comment-1749</link>
		<dc:creator>Curious &#187; REST-esting with cURL: File Handling</dc:creator>
		<pubDate>Mon, 12 Apr 2010 18:22:59 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.plexibus.com/?p=29#comment-1749</guid>
		<description>[...] For more examples using cURL for testing web services, see here. [...]</description>
		<content:encoded><![CDATA[<p>[...] For more examples using cURL for testing web services, see here. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.681 seconds -->

