Task 1: Call API with Postman

GoalCall Juice Shop API with Postman
TaskConfigure Postman and GET information about Apple Juice from the product page
Verify task completionThe Postman Request should successfully return data for the Apple Juice product
  1. Open postman by opening a new terminal (not bash) and type Postman at the prompt. This should start the postman application.
    Warning

    If Postman doesn’t open, it’s likely due to the terminal still using Bash. To exit bash, simply type sh

  • When postman opens, select Continue without an account postmanlite postmanlite
  • Now select Open Lightweight API Client postmanlite2 postmanlite2
  1. Now, let’s make an HTTP GET API call to search for Apple Juice. Use the following URL, ensuring you replace your studentID.

    https://<studentID>.fwebtraincse.com/rest/products/search?q=Apple
Warning

If the first call fails, due to a certificate error. In the response section, you will need to scroll down and select “Disable SSL Verification”. postman ssl disable postman ssl disable

  1. Now the Call should go through an you should see a status 200 and returned data.

    postman success postman success