How to use REST Client Firefox plugin to test your REST Service

 

  • To install rest client firefox plugin, Go to https://addons.mozilla.org/en-US/firefox/addon/restclient/ and click on “Add to firefox”, install it then restart firefox.
  • Click on the rest client icon on right corner of your firefox browser.

restclientfirefox-300x93

  • Now we will test open source rest service through get method like – google’s translator service  GET https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&source=en&target=de&q=Hello%20world
  • Copy and paste https://www.googleapis.com/language/translate/v2?key=INSERT-YOUR-KEY&source=en&target=de&q=Hello%20world into your URL field
  • At the top of the page, click Authentication, then click Basic Authentication. (It is required if authentication is used on that rest service)

restclient1-300x108

restclient2-300x118

Then choose the method (GET, POST, PUT etc.)

restclient3-300x127

Put the input parameters either with URL or put it in the Body field. Then click send and check the response in the below response section –

restclient4-300x218

 

Now you are done with your REST client firefox plugin testing.

 

Gopal Das
Follow me

Leave a Reply

Your email address will not be published. Required fields are marked *