Simple REST Client

While preparing for my upcoming REST talk, I made a basic REST client. It's nothing special but allows you to set the verb, request body and see the status code and all the headers on the response. It's quite handy for debugging and exploration of RESTful services.

Feel free to download the:

Hope it is useful and saves you having to whip up your own little client!

UPDATE: Source now available on GitHub!


Actions

Information

13 responses to “Simple REST Client”

13 08 2008
Floyd’s Thoughts » Blog Archive » Daily Dose (04:08:35) :

[...] Simple REST Client Some .NET code for consuming RESTful web services. [...]

5 09 2008
James Crisp - C#, JRuby, Ruby on Rails, .NET, book reviews, film reviews, mind hacks, Wing Chun and the occasional personal bit. » Slides from Tech Ed “Rest Patterns and .NET” Talk (16:38:48) :

[...] might also be interested in more information about the talk or the simple rest client with code I mentioned during the [...]

11 09 2009
sandrar (07:33:59) :

Hi! I was surfing and found your blog post... nice! I love your blog. :) Cheers! Sandra. R.

9 04 2010
Nilesh K (19:22:51) :

Great stuff... It helps me to save time for creating REST Client.. :)

31 08 2010
Dave Mills (01:11:39) :

James,
Thank you for posting "Simple REST Client". I found this post very helpful.

16 10 2010
Jonathan Rasmusson (04:12:44) :

Thanks James. Simple clean code that works. I love it :)
Say hi to the folks in TW Sydney for me (used there many years ago - was part of the Manly crew).

All the best - look forward to visiting again some day.

Cheers - JR

15 04 2011
Scott Purcell (05:22:57) :

I am trying to use the httpWebRequest to send data to a secure https website. I have all the credentials to do it. I can type it into the address bar of a browser and get the desired results, but when I try httpWebRequest (even with this program I get error: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Any ideas?

9 08 2011
Spring MVCでRedisを使いつつRestなAPIを作ってみる | shinodogg.com (20:10:02) :

[...] 今回はRestfulなAPIを作りたかったのでテスト用にSimple Rest Client ってのを使ってみました。 名前の通りめっちゃシンプルなので使いやすかったです↓ 上記をPOSTにしてリクエストすると↓のように返してくれて、コレがやりたかったのよね!的な。 [...]

3 12 2011
Mikolaj (00:41:38) :

Very nice and fast application, helpful to understand and test REST client.
Thanks a lot!

18 05 2012
Jason (10:35:26) :

I love the self-contained working example. Thank you!

4 07 2012
Manish (10:20:58) :

I have used this several times and have recommended this to several other developers and they have loved it too.. thanks James.

14 08 2012
Jma (20:22:11) :

You should checkout WcfStorm.Rest, it's a pretty neat REST Client. http://www.wcfstorm.com/wcf/learn-more-rest.aspx

16 03 2013
Kevin M (04:17:57) :

Thanks for posting this - it allowed me to play around with a POST i needed until I got it working.