- 1 Minute to read
- DarkLight
Environment Setup
- 1 Minute to read
- DarkLight
The environment is a group of variables defined in the postman. We can use those variables while we are adding requests to the server.
To set up an environment:
- Open Postman application and click Environments menu.
Click Plus icon to create a new Environment.
Specify the required name to the Environment, and then specify values for the variables such as BaseUrl and auth.
Production endpoint - https://api.syndigo.com
UAT endpoint - https://api.uat.syndigo.com
In auth variable, specify the auth key which you have generated using the APIs Generate auth tokens via params or Generate auth tokens via payload.
After specifying the variables in the Environment, you can use those variables in the API requests so that the redundancy can be avoided.