Variables
Environment Variable
In RestIt, environment variable are per collection. To Define variables, right click on collection and click view/edit. All variables belong to a profile. At least one profile will be defined to add variables.
Environment profile
Each collection has at least one profile declared for it where environment variables and authorization details can be added.
To add a new profile click on +
to open a create new profile
window, give a name and select a colour and hit save.
Add variables in any profile by giving a name and value and click save.
Using an environment variable
Use ${variable_name}
syntax to use a variable.
path variable
Define a path variable
using :variable_name
syntax in the url.