From the course: Introducing Postman
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Challenge: Body variables - Postman Tutorial
From the course: Introducing Postman
Challenge: Body variables
(upbeat music) - This chapter was all about managing environments and their associated variables. This challenge is intentionally more difficult than the others because it forces you to apply what you've seen in a slightly different way than it was demonstrated. We're going to plug a potential sensitive information leak by replacing the username and password values in the authorization request with environment variables. To accomplish this, you'll need to define variables for the username and password, set the current value for both variables, reference the variables in the request body, and prove that it works by getting a new token when using the variables.
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.