Read the response body#
The body arrives highlighted and pretty-printed, or as a preview when it is binary.
The Body tab is the default tab on the response panel. It shows the response body in a read-only editor, with syntax highlighting chosen from the response content type. When the body is binary, it shows an inline preview instead.
Syntax highlighting#
The editor highlights the body to match the content type the server returned. JSON, HTML, CSS, JavaScript, and XML each get their own highlighting. Anything else appears as plain text. The tab icon also changes with the content type, so you can tell the format at a glance.
Pretty-printing#
The editor reformats text responses so they are easier to read. It re-parses JSON and re-serialises it with two-space indentation. It indents HTML, CSS, and JavaScript with line breaks at the usual boundaries. XML keeps its highlighting, but the editor does not reflow it.
If the editor cannot reformat the body, for example because the JSON is malformed, it shows the body exactly as it arrived.
Copy the body#
The copy button in the response header row copies the body to the clipboard. It copies JSON pretty-printed and other text as-is. The button shows a tick for a couple of seconds after a successful copy. The panel hides it for binary responses.
Binary responses#
When the body is binary, the tab renders the bytes inline rather than as text. It shows images, PDFs, audio, and video as a preview. Anything else falls back to a hex dump. A line above the preview reports the content type and the size.