views:

126

answers:

7

I want a simple client that takes a few parameters (Method, URL, Parameters), makes an HTTP request, and shows me the results that were returned.

A browser obviously can easily send GET and POST requests, but I have no good ideas on DELETE and UPDATE.

Did I miss something in browser 101, or is there a common freeware tool to do this? I've seen other threads that give me Java APIs for a simple client, but that's not what I'm looking for.

+3  A: 

The Java application rest-client http://code.google.com/p/rest-client/ sounds like a good option.

ckuijjer
I'm also using this for debugging RESTful stuff.
PartlyCloudy
+1; looks like that'll fit the bill.
Dean J
A: 

Spring has a rather fine RestTemplate class which acts as a REST-style client. Great if you already use Spring, but probably a bit of a bulky library if you don't.

Note: this seems to be a genuine REST client, not just watered-down RPC-over-HTTP which is what passes for REST in most cases.

skaffman
A: 

From a mailing list I'm on: curl works just fine.

Also, Poster for Firefox, and the less-mature Poster for Chrome.

Dean J
A: 

On Github there is a command line tool called http-console, which looks nice.

Link: http://github.com/cloudhead/http-console

ZeissS
+2  A: 

Firefox with the Poster add-on will do what you want.

laz
+2  A: 

When I have done REST development, curl has been excellent for me. It is flexible enough to be able to handle almost any situation that arises, and once you get the hang of which options to include, it is really easy to use.

Bryan
A: 

The most generic option would be to simply use Apache HTTP Components. There is nothing special about the request/response formatting like you see in SOAP, so any basic HTTP library will work.

Nathan Voxland
Looking for a client, not a client API. :-)
Dean J