Sharing and export
Use a shareable link to give someone your exact request, and use the export options to move a request into a terminal, a script or a test.
All three options are in the Request options menu in the endpoint bar. Configure the request first.
Copy a shareable link
A shareable link holds the state of your request builder. It is good for bug reports and demos.
- Optionally send the request, so the link also holds the response.
- Open Request options and select Copy shareable link.
- Copy the link from the dialog and share it. A request tab also has a Share action in its menu.

The link holds:
- The method and the endpoint.
- The headers and the query parameters.
- The selected body and its type.
- The authorization settings.
- The last response of the request tab, with its status, headers, cookies and body.
- The application the route belongs to.

Caution
Nimbus resolves environment variables before it builds the link. The real values of your variables, tokens and passwords go into the link, and so does the response body. Check the request before you share the link.
When someone opens the link, Nimbus restores the request. A restored response shows an Imported badge. Files are not part of the link, only their names.
A link holds a version field, which is 1 today. Links made before the field existed are read as version 1. If a link has a higher version, it was made with a newer Nimbus. Nimbus shows a message that asks you to update Nimbus and does not restore the request.
Export to cURL
- Open Request options and select Export to cURL.
- Click Copy in the dialog.


The command has the method, the full URL with parameters, all headers including global headers, and the body.
Authorization from the special types, Currently Logged-in User and Impersonate, is dropped from the command because cURL cannot reproduce it. The dialog tells you when this happens.
Export as code
- Open Request options and select Export as code.
- Pick a language.
- Click Copy.
The languages are:
- JavaScript (fetch)
- JavaScript (Axios)
- PHP (Laravel Http)
- PHP (Guzzle)
- PHP (Pest test)
- PHP (PHPUnit test)

Environment variables and dynamic variables are resolved in the code. Authorization values and secrets such as tokens and passwords are replaced with placeholders such as YOUR_TOKEN.
The tests expect the status code of the last response, or 200 when there is none. A test that acts as a user uses the App\Models\User factory. Change the model if your application uses another one.
The command palette action Copy as code copies the cURL command.