Response Viewer
Inspect API responses with interactive JSON/XML trees, test results, save/copy/cURL, and inline editing.
Response Tabs
After sending a request, the response is displayed in four tabs:
| Tab | Description |
|---|---|
| Body | Interactive response body viewer — auto-detects content type and renders accordingly (see below). |
| Preview | HTML iframe preview (sandboxed) for web page responses. JSON responses also render as an interactive tree. |
| Headers | Copyable list of all response header key-value pairs. |
| Tests | Pass/fail results from post-response test scripts. Each vx.test() shows its name and result. |
Response Meta
Every response shows three metrics in the response bar:
- Status code — Color-coded badge (2xx green, 3xx blue, 4xx amber, 5xx red)
- Response time — Milliseconds
- Response size — Formatted bytes (KB/MB)
Content-Type Auto-Detection
The Body tab automatically renders based on the response content type:
| Content Type | Rendering |
|---|---|
| JSON | Interactive collapsible tree with color-coded types (strings, numbers, booleans, null) and item counts per node |
| XML / HTML | Interactive XML tree with collapsible tags, attributes, and text nodes |
| Images (image/*) | Inline image rendering |
| Embedded PDF viewer | |
| Binary | Download button with file size |
| Other | Raw text with syntax-highlighted code view and line numbers |
Interactive JSON Tree
The JSON tree is fully interactive:
- Click nodes to expand or collapse objects and arrays. Item counts show at a glance.
- Double-click a value to edit it inline. Auto-detects type:
null,true/false, numbers, and strings. - Double-click a key to rename it.
- Right-click any node to open a context menu with: Copy Value, Copy Path (dot-notation), or Set as Variable.
Set Variable from Response
Click the Set Variable button (or use the JSON tree context menu) to extract a value and save it as a cluster variable. A JSON path picker appears showing up to 3 levels of nested paths — search/filter paths, select one, give it a name, and it is saved to the cluster’s variables for use in other requests.
Response Actions
| Action | Description |
|---|---|
| Copy Response | Copies the full response body (JSON is pretty-printed before copying) |
| Copy as cURL | Generates a cURL command from the current request (method, URL, headers, body, auth) |
| Save as File | Save the response to a local file. Detects filename from Content-Disposition header or URL, with a system save dialog. |
Search in Response
Press Cmd+F (macOS) or Ctrl+F (Windows) to open the search bar. Features include:
- Real-time match highlighting as you type
- ▲ / ▼ navigation between matches
- Match count display (e.g., “3 of 12”)
- Escape to close the search bar
Context Menu
Right-click anywhere in the response to:
- Copy selection or copy all
- Select all
- Save as file