Bruno

This page is out of date and needs reviewing.

Bruno is an API client to test requests, and is an open source alternative to Postman.

https://www.usebruno.com/

Sharing setup

It is possible (and recommended) to export your Bruno site and commit into the sites repository for others to use.

But note that you must not commit secure info such as passwords and keys, so make sure you obfuscate or remove those.

It is usually best to export the group into the repos root in a .bruno folder, although some sites may have used bruno instead.

Using a Proxy

Sometimes the API may be IP restricted, and so setting up a proxy (such as gateway3.agile.coop) would be required.

To do this, you will first need to open an SSH tunnel, so adding the below to .bashrc and running it would be needed to get started

# SSH Tunnel to gateway3 setup for Bruno
proxy-agile() {
  if [[ "${1}" ]]; then REMOTE_SERVER="${1}"; else REMOTE_SERVER="gateway3.agile.coop" ; fi ; ssh -vTnN -C -F "${HOME}/.ssh/config" -D 3129 "${REMOTE_SERVER}"
}

Then, so long as it runs without any errors, you can go into Brunos settings > Proxy page and setup as below:

When you are no longer using the Proxy, just set Mode to Off

Last updated: