Postman collections and environments
On This Lesson 4 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
organize requests so the whole team can reuse them.
Planned topics
- A collection is a saved, shareable group of requests, organized in folders (Products, Cart, Orders).
- An environment is a set of variables such as
baseUrlandtoken. Switch betweenlocalanddeployedwith one click. - Use
{{baseUrl}}/productsinstead of hard-coding the host. - Never commit real tokens or passwords in a shared collection; keep secrets in environment values that are not shared.
- Name requests clearly and add a one-line description.
Draft outline details
Demonstration
two environments: local with baseUrl = http://localhost:8080 and deployed with the staging URL; the same request runs against both.
Check your understanding
Why {{baseUrl}}?
Show answer
One request works against many environments.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.