Skip to content

Request builder ​

Use the request builder to set up a request for a route and send it to your application.

Send a request ​

  1. Click a route in the sidebar. It opens in its own request tab with the method and path already set.
  2. Fill in the route parameters. A parameter such as {user} is part of the endpoint, and Nimbus selects it when you click it. If one is still empty, a warning lists the missing parameters and the model each one is bound to.
  3. Add query parameters, headers, a body and an authorization as needed. The tabs are described below.
  4. Click Send or press Cmd+Enter (Ctrl+Enter).
  5. Read the result in the response viewer. See Response viewer.

Endpoint bar ​

The endpoint bar holds the method list, the endpoint and the Send button.

Request tabs ​

Each route you open gets its own tab above the builder. You can open the same route more than once.

  • Click New request to start from a blank tab.
  • Right click a tab, or use its menu, to close it, close the other tabs, close the tabs to the left or right, rename it, pin it, or share it.
  • Press Alt+1 to Alt+9 (Option+1 to Option+9 on macOS) to switch tabs by position.
  • Press Cmd+B (Ctrl+B) to hide or show the route list.

Builder tabs ​

Parameters ​

Add query string parameters as key and value rows. The tab shows how many rows you have. A GET route with no body gets its query parameters from the controller when Nimbus can find them.

See Schema and auto-fill.

Body ​

Pick a body type from the list. Nimbus chooses one from the route and you can change it.

TypeWhat it sends
EmptyNo body.
JSONA JSON editor with schema checks.
Plain TextText as it is.
Form DataRows of text or files, sent as multipart/form-data.
Form URL EncodedRows of text, sent as application/x-www-form-urlencoded.
HTMLText with text/html as the content type.
XMLText with application/xml as the content type.
BinaryOne file as the raw body.

For HTML, XML and Binary, Nimbus sets the Content-Type header unless you set one yourself. A binary file is not kept after a page reload, so pick it again.

GET and HEAD requests send body fields as query parameters.

Upload files ​

  1. Open the Body tab and choose Form Data.
  2. Click Add to create a row.
  3. Change the row type from Text to File.
  4. Enter the field name and click Choose file.
  5. Send the request.

Each row holds one file. To send several files, add one row per file and use a name such as photos[] or photos[0].

  • After a page reload, a row shows name (select the file again) and the file is not sent until you pick it again.
  • History and shareable links keep the file name only.
  • The limits of your application apply, such as upload_max_filesize and post_max_size in php.ini.

Authorization ​

Choose how the request authenticates.

See Authentication.

Headers ​

Add custom headers. Headers from your configuration are added to each new tab.

See Global headers.

Request options ​

The Request options button at the end of the endpoint bar opens a menu with settings for the current request.

The request options menu

OptionWhat it does
Transaction modeRolls back database changes. See Transaction mode.
Sign URLSigns the URL for routes with the signed middleware. Shown only for those routes. See Authentication.
Follow redirectsOn by default. Turn it off to see the redirect response itself.
Verify SSLOn for production targets and off for other targets. Change it for the current request.
Timeout (seconds)30 by default. Accepts 1 to 300.
Set current timeRuns the request at a chosen time. See Time travel.
SandboxFakes mail, notifications, queued jobs or events. See Sandbox mode.
Save to workspaceSaves the request to your repository. Shown when the workspace is on. See Workspaces.
Export to cURL, Export as code, Copy shareable linkSee Sharing and export.

Defaults for new requests ​

Open Settings to choose the default body type and the default authorization type for new requests. The body type can also stay on automatic, which follows the route.