> ## Documentation Index
> Fetch the complete documentation index at: https://bruno-a6972042-mintlify-keybindings-docs-1775036576.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Scripting

Bruno allows you to write JavaScript code before sending a request (Pre-request) and after receiving a response (Post-response). Use scripts to generate dynamic data, manipulate requests, parse responses, and set variables.

<img src="https://mintcdn.com/bruno-a6972042-mintlify-keybindings-docs-1775036576/8wpRauUgRMn1DnGu/images/screenshots/script/scripting.webp?fit=max&auto=format&n=8wpRauUgRMn1DnGu&q=85&s=6773fdb507ef468476f466b3f8096df6" alt="bru lang sample" width="2472" height="924" data-path="images/screenshots/script/scripting.webp" />
