API & testing

HTTP requests and responses

Configure a method, URL, parameters and body, then inspect the response.

Composing a request

  1. Create a request and choose an HTTP method.
  2. Enter a URL. Use variables such as {{base_url}} where needed.
  3. Add URL parameters and headers in their tabs.
  4. Configure the body and authentication as required.
  5. Select Send or press ⌘Enter / Ctrl+Enter.
An order request using environment variables, with a JSON response and three passing checks.

Request body

Use text or JSON, forms, multipart or binary data as the request body. For multipart, add fields and choose files. Inspect and edit Content-Type and other headers as needed.

Inspecting a response

The response summary shows HTTP status, duration and size. Switch between the body, headers and request console. Search supports text, JSONPath and XPath for the relevant content.

Copy the body or save it to a file. Saved examples keep a request/response pair with the collection. History lets you revisit earlier executions.

Working with cURL

Paste a cURL command into the URL field to populate a request. Copy as cURL creates a command from the current configuration.