![]() Once a variable is selected, it will be displayed with a colored placeholder. Allow the autocomplete to show automatically as you typeĪfter you have set environment variables, you can access the variables via autocomplete dropdown menu.Summon the autocomplete dropdown by pressing Control+Space.Referencing Environment VariablesĮnvironment variables can be referenced in (almost) any text input within the Insomnia application. ![]() Note: Variable names must only contain letters, numbers, and underscores. The Manage Environments modal allows you to access and edit your base and sub environments. From here, you can edit the base environment, create sub environments, assign colors, and more. Access the environment manager through the environment dropdown menu at the top of the sidebar. Environment BasicsĪn environment is a JSON object containing key-value pairs of the data you want to reference. Request using base URL and ID variables that can be reused. Common variables are base URLs, authentication tokens, and resource IDs. Set up environment variables to reuse values across multiple requests.
0 Comments
Leave a Reply. |