Skip to content

Latest commit

 

History

History
26 lines (23 loc) · 2.14 KB

Postman.md

File metadata and controls

26 lines (23 loc) · 2.14 KB

Postman Demo

  • Sign up on the Postman API platform. For this session, you will not need to download the Postman app, as we can use Postman in the browser itself

  • Once you've signed up, you will reach the landing page. Click on either the '+' next to the tabs or the 'Send an API request' button to open a new page.

  • A new request tab should now have opened.

  • Try sending a request to https://itc.gymkhana.iitb.ac.in/certificateBackend/backend101 by entering it into the URL input, and hitting Send

  • You should be able to see a response near the bottom of the screen

  • Try adding query params to your request, by mentioning a name and value (the description is optional and not used in the actual call).

  • When making PUT or POST requests, we instead put data in the request Body, which is a different tab.

    alt text

  • To interface with localhost, you will need to download the Postman Desktop Agent (you can also download the whole app, but for this session we recommend going with the agent)

    image

  • Let's do an activity

    1. Follow the above mentioned steps.
    2. Select the GET method.
    3. Copy the following link. https://itc.gymkhana.iitb.ac.in/certificateBackend/backend101?
    4. Now in Query Params add name as key and add your_name as the value.
    5. Click on send button and 'Hello There!!!' :)