Learn how to use environment variables in your requests and scripts.
new
button. Let’s label the environment as Pokemon Envs
.
Now, let’s create an environment variable called baseURL
pointing to https://pokeapi.co/api/v2
.
Similarly, you can create multiple environments and environment variables.
<<variable_name>>
, in our case the variable will be <<baseURL>>
and the complete URL will be <<baseURL>>/pokemon/ditto
.
Global
environment, which can be accessed globally, ie. in every other environments.