From the course: Postman Essential Training
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
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
-
-
-
(Locked)
Creating collections and folders2m 4s
-
(Locked)
The contact list application2m 12s
-
(Locked)
How JSON Web Tokens (JWTs) work3m 34s
-
(Locked)
Creating GET requests5m 24s
-
(Locked)
Creating POST requests4m 4s
-
(Locked)
Creating PUT and DELETE requests4m 31s
-
(Locked)
Creating negative requests: Part 14m 25s
-
(Locked)
Creating negative requests: Part 26m 16s
-
(Locked)
Using environment variables3m 54s
-
(Locked)
Saving response data as a variable6m 37s
-
(Locked)
Challenge: Add variables to a request1m 6s
-
(Locked)
Solution: Add variables to a request2m 17s
-
(Locked)
-
-
-
-