From the course: Introducing Postman
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Variable shortcuts - Postman Tutorial
From the course: Introducing Postman
Variable shortcuts
- [Instructor] Quite often when we need to update a variables value, we're getting the new value from a response. In fact, the last two variables we set came from API responses. This is so common that Postman's developers gave us a much easier, less tedious way to update variables from response bodies. Let's begin by opening and sending the board details request. The server responds with the details for the chapter zero board because that's the board currently referenced by our board ID variable. To get another board, we merely need to replace the board ID's current value. Let's return to our get board list request and send it so we can find another valid board ID. I want to get the details for the chapter one board. I could copy its ID and past it as the variables current value in the quick look panel like we did before, but it's so much easier to set the board ID variable from right here. Select the ID for chapter one to get started. Now instead of copying the text, open the context…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.