Tuesday, July 06, 2010

REST Client


This is a feature rich rest client what I developed and released to open source under EPL 1.0 for developers to play with web services. It can be used to test any URL for all HTTP methods
  • GET
  • POST
  • PUT
  • DELETE
  • HEAD 
  • OPTIONS
  • TRACE

Main Features

  1. Simultaneous views of request, response and browser.
  2. Post raw data or file, text content or binary.
  3. Post params in either body or as part of URL (twitter style).
  4. Post multipart form data with same ease as of normal post.
  5. Handle response equally well even if it is binary e.g. image, pdf etc. No gibberish characters anymore.
  6. Play with headers and params.

Min. Requirement

  • Java 1.6
  • Eclipse 3.4 (for plugin)
  • HTTP 1.1 compatibility

Project Home:

http://tinyurl.com/rest-client

Approved by eclipse.org:

http://marketplace.eclipse.org/content/rest-client


8 comments:

Håkan Jonsson said...

Hi,

This a really nice tool. I did have problems with https connection to a server with a self-signed cert. Reported in on the project. Let me know if you want help fixing it.

/Håkan

Yadu said...

Thanks Håkan. HTTPS issue what you reported has been fixed. Now All SSL validations are disabled by default. They can easily be customized if user wants to do so. Thanks again for helping in making developers' life easy.

Ref: http://code.google.com/a/eclipselabs.org/p/restclient-tool/#SSL_Handling

Nat said...

I don't see a way to set the "Content-Type" header in POST requests. Am I missing something?

Yadu said...

It determines content type automatically by reading stream in case of posting a file. It sends "text/plain" for anything on body pane.

You may like to post any feature request, if it's not present, at project's page http://code.google.com/a/eclipselabs.org/p/restclient-tool/issues/list

Unknown said...

This is cool tool. Could you tell me how to set authentication.

Yadu said...

What kind of authentication you want to set? You may set authentication headers (if any) required by your service.

Unknown said...

Thx Yadu. I am looking for Basic Authentication.

Yadu said...

Currently it doesn't provide any way to create and add auth headers automatically. For basic HTTP authentication, you may have to add header manually after getting Base64 encoding of username:password like

Authorization: Basic base64encode(myusername+":"+mypassword)

=>

Authorization: Basic bXl1c2VybmFtZTpteXBhc3N3b3Jk