Manuals / Postman & API Exploration / Chapter 2

Core · beginner · ~35 min · Chapter 2 of 3

Environments & variables

baseUrl and tokens per env — never hardcode secrets in shared collections.

Path progress
50%

Step 1 of 2

Key idea

Environments swap baseUrl and credentials between local/staging/prod.

Key ideaDrag stickies · tap for tips
Study mapDrag stickies · tap for tipsKeep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Assert the UIdrag · tap →Retry wiselydrag · tap →Seed datadrag · tap →Close the loopdrag · tap →Keep it shortdrag · tap →Name the waitdrag · tap →Scope locatorsdrag · tap →Trace when stuckdrag · tap →One browser firstdrag · tap →Isolate statedrag · tap →Pathwise hackdrag · tap →Key ideadrag · tap →Go deeperdrag · tap →Follow the dashed drag · tap →

Quick check

Best place for an API token…

Do this now

Write 3 notes on: Environments.

Was this step clear?
Chapter learning outcomes
  • env vars
  • Secrets
  • {{baseUrl}}

Clear these before you leave