Collections
Save any request into a collection to keep it around. Collections support:- Folders to group related requests
- Search to find a request quickly
- Codebase structure when a collection is built by route discovery, so its folders mirror your project
Environments
An environment is a set of named values you reference with{{variable}} syntax. Define a value once and use it across every request.
{{variable}} resolves to the new set of values. This makes it easy to move a request between local, staging and production without editing it.
1
Define values
Create an environment and add named values such as
baseUrl and token.2
Reference them
Use
{{baseUrl}} and {{token}} in your request URL, headers, params or body.3
Switch
Change the active environment and every request picks up the new values.
Imported collections bring their environments across too, so
{{baseUrl}} in an imported request resolves right away. See Importing.