You can use environments to dynamically replace the variables in your API requests and responses.
  1. Select the environment you want to use from the dropdown in the top right corner of the playground. Environment dropdown
  2. Use the {{env.key_name}} syntax to access the variables in the headers and parameters of your API request. Environment variables
  3. You can also use the maxim.getEnvironmentVariable("key_name") method in your scripts to access the variables.
See it in action: