API Testing · Junior · Question 25 of 75

Why use environments in Postman?

Show the answer

Correct answer: To switch values like base URL and tokens between dev, staging and prod

Explanation

With {{baseUrl}} in requests, switching from staging to dev means choosing another environment, not editing every request.

Further reading

Problem with a question

API Testing · Junior · question 25

Test yourself

Take the API Testing · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz