inspector.restDocs

Request details

Read a recorded request in the inspector.rest app - overview, attempt waterfall, labels, request and response headers, pretty or raw bodies, body search, binary bodies, and Copy cURL.

Select a row to open its details. The details load without bodies first; bodies are fetched in slices as you read them, so even megabyte-sized JSON opens quickly.

Overview

The Overview tab shows the summary of the request: method, URL, status, duration, size and outcome. If it failed, the error name and message are shown with the phase it failed in: network (no response), http (an error status), parse (the body could not be parsed), domain (the application reported an error) or other (a phase specific to the HTTP client library).

Attempts. A waterfall shows every attempt as a bar on a time axis, with its status and duration. Select an attempt to see its own headers and bodies below. For retried requests the app also notes the retry decision that followed an attempt.

Labels. All labels of the request. Click a label to add it as a filter. Automatic labels carry an auto badge.

Request and Response

  • Headers are listed with a count.
  • Body shows JSON as a collapsible tree (Pretty) or as it was received (Raw). Large numbers keep their exact digits. Form bodies are parsed into fields; other text is shown as is.
  • Search in body finds text inside the open body.
  • A response that could not be parsed by the client is marked, and its raw body is kept.
  • Binary bodies. If binary capture is on, images are previewed and other files can be downloaded. If it is off, an information card shows the size and content type and explains how to turn on capture_binary. See Binary body capture.
  • Cut bodies. A body cut by max_body_bytes is marked as truncated, with its original size.

Copy cURL

Copy cURL copies the selected attempt as a curl command. Values are escaped with single quotes so the command is safe to paste, and the host and content-length headers are not included.

You can copy the address of the request to share it. See Sharing links.

Skipped bodies

When an SDK had to drop work because of load, the request shows a notice such as “N bodies were skipped because of load”. The request itself is still recorded. See Behavior under load.

A body that was not captured shows why in the body view:

ReasonMeaning
Binary capture is offThe body is binary and capture_binary is off. Only the size and content type are known.
Load budgetThe SDK skipped the body to stay within its load budget.
Too largeA binary body above max_binary_bytes.
StreamThe body could not be read, for example a stream or FormData.
Capture ruleThe SDK’s capture rules left the body out.
Not sentThe SDK reported a binary body but did not send it.