Skip to content

Dry Run

See the exact curl command before it runs.

Dry run resolves variables, builds every request and prints the equivalent curl command — without sending anything. Secrets in the output are redacted.

create-user.yaml
# Same as: curl-runner create-user.yaml --dry-run
global:
  dryRun: true

requests:
  - name: Create user
    url: https://api.example.com/users
    method: POST
    headers:
      Authorization: Bearer ${API_TOKEN}
      Content-Type: application/json
    body: { name: Ada }

Benefits

  • Nothing is sent

    Safe to point at production: requests are built and printed, never executed.

  • Copy-paste curl

    Each request prints as a curl command you can run by hand or share in a bug report.

  • Variables resolved

    See the final URL, headers and body after interpolation — the fastest way to find a typo in a variable.

Good for

  1. Checking a new file before it touches a real API
  2. Debugging variable interpolation
  3. Sharing a reproducible request with a teammate
  4. Reviewing destructive requests before running them