Module CSC5002—ASR6: Middleware and software architecture for distributed applications

Portail informatique

REST lab - Install a REST client

To be able to test easily REST services, it is recommanded to have a REST client on your computer. We recommand the usage of postman. This page is to enable an easy installation of Postman on linux.

Install Postman

Copy the install_postman.sh provided in the csc-mw-examples/ExamplesREST directory script into your HOME directory. Then, run the install_postman.sh script from your home directory:

cd ~ source ./install_postman.sh

Test Postman

Discover the Postman REST Client.
Start Postman by entering this command:
Postman &

You can click on Skip this, go straight to the app at the bottom of the page if you prefer to connect without a Google account.

As a first try you can try to make a GET at this URL checkip.dyndns.org. You should obtain a similar result.

As a second step, you can Import the request collection provided in file csc-mw-examples/ExamplesREST/mari.postman_collection.json in Postman and test the "Slide example" requests. The other ones will be tested in the following lab.