How Code Snippets Work in Bruno
Bruno’s Code Snippet feature automatically generates the necessary code to make the same API request in various programming languages, such as Python, JavaScript, cURL, and others. This makes it easy to share and implement API calls directly into your application.Steps to Generate Code Snippets in Bruno
- Create or Open an API request.
- Go to the Generate Code Section (next to the request).

- Select your desired programming language from the dropdown to generate the code snippet.

Import a request from cURL
You can create a request by pasting a cURL command into Bruno (the reverse of generating cURL from a saved request).- In the sidebar, click
···on the collection → New Request. - Set Request type to From cURL, then paste your cURL into the input.

- Click Create to import the request.
