An environment is a named section of variables inside aDocumentation Index
Fetch the complete documentation index at: https://docs.getpostchi.com/llms.txt
Use this file to discover all available pages before exploring further.
.cenv file. When you select an active environment, Postchi substitutes its variables into every request you run. Switch environments from the toolbar to instantly point your requests at a different server, token, or configuration.
The .cenv format
Environment files use the.cenv format: named sections marked with a # comment, each containing key=value pairs.
# Section Name header starts a new environment. You can define as many environments as you need in a single file.
Variables and secrets
Your project contains two environment files:environments.cenv
Non-sensitive variables like base URLs, and user IDs. Safe to commit to version control.
secrets.cenv
Sensitive values like API tokens, passwords, and private keys. Keep this out of version control.
Using variables in requests
Reference variables in your request files using<variable_name> placeholders. Postchi replaces them with values from the active environment section at run time.