Skip to main content
Variable interpolation in Bruno allows you to use variables in your requests using the {{variableName}} syntax. Let’s explore how interpolation works with different data types.

Basic Interpolation

Strings

Numbers

Booleans

Object Interpolation

Object interpolation is available from Bruno v2.2.0 onwards.
You can access object properties using dot notation. Here’s how to work with objects containing different data types:

Array Interpolation

Array interpolation is available from Bruno v2.2.0 onwards.

Date Interpolation

Practical Examples

API Authentication

Dynamic Query Parameters

Request Body with Mixed Types

Remember that variables set using bru.setVar() are available throughout your collection’s scope. Use them to make your requests more dynamic and maintainable.