Skip to content
Ameen Abozaid
Planned lessonJNR-022-L01

Postman collections and environments

  • Lesson 1 of 5
  • Junior
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 baseUrl and token. Switch between local and deployed with one click.
  • Use {{baseUrl}}/products instead 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.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Continue to next lesson

Type to search levels, phases, modules and lessons.