Environment Setup
  • 1 Minute to read
  • Dark
    Light

Environment Setup

  • Dark
    Light

Article summary

The environment is a group of variables defined in the postman. We can use those variables while we are adding requests to the server.

CXH API Postman Examples.json

To set up an environment:

  1. Open Postman application and click Environments menu.

Environments Tab

  1. Click Plus icon to create a new Environment.
    Add environment.png

  2. 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

Note:

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.

Environments auth

After specifying the variables in the Environment, you can use those variables in the API requests so that the redundancy can be avoided.

Use of the environment's variables.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence