The Vars tab in Bruno allows you to manage variables at different stages of your request lifecycle. You can set and use variables:Documentation Index
Fetch the complete documentation index at: https://docs.usebruno.com/llms.txt
Use this file to discover all available pages before exploring further.
- Before the request (Pre Request)
- After receiving the response (Post Response)
Pre Request Vars
In the Vars tab > Pre Request variables section, you can write any strings, numbers or any valid JavaScript literal. Example:
Post Response Vars
In the Vars tab > Post Response variables section, you can write any valid JavaScript expression. Theres object is available, allowing you to declaratively parse the response object and set variables, instead of writing scripts to do the same.
Example:
