Chrome Postman to test and debug RESTful Web Services

Step 1 You need to get the Postman extension for the Google chrome browser.

Chrome Extension

Chrome Extension

Step 2 Search and add POSTMAN.

REST client POSTMAN

REST client POSTMAN

Step 3 Once installed, open it from the Apps link.

chrome-apps

Step 4 Set the TEST URL, HTTP headers (especially the content type application/json, etc), and HTTP method (GET, POST, PUT, etc) and then click on send.

Chrome-postman-json

chrome-postman-xml

for the completeness, the REST service could have been implemented using Spring MVC, and the controller implementation looking like


800+ Java Interview Q&As Menu

Top