From the course: Postman Essential Training

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Solution: Add variables to a request

Solution: Add variables to a request - Postman Tutorial

From the course: Postman Essential Training

Solution: Add variables to a request

(upbeat music) - [Instructor] How did you do? Were you able to think of some new places to add variables? Let's take a look at the first part of the challenge. I asked you to think of two requests in the basic requests folder where you could add the contact ID variable to the URL. We already had that variable in the get contact request. We can also add it to the update contact request and the delete contact request. So let's take a look at the update contact request. I've already added in the contact ID so we can click send and our contact will be updated. Then let's take a look at the delete contact request. I've already added the contact ID variable there and I can click and delete the contact. Remember that if you run the delete contact request you will delete the contact with that saved ID. So you'll need to add a new contact and use that new saved ID for other get and put requests. For the second part of the challenge, I…

Contents