Docs API Client Body Editor

Body Editor

The body editor supports JSON, XML, GraphQL, form-data, binary, and x-www-form-urlencoded with syntax highlighting.

Body Modes

ModeDescription
noneNo request body
rawFree-text with language selection: JSON, XML, HTML, JavaScript, GraphQL, Plain Text
form-dataMultipart form data with text and file fields. File picker for uploads.
x-www-form-urlencodedURL-encoded key-value pairs
binaryRaw binary file upload

Raw Editor Features

  • Syntax highlighting per selected language
  • Line numbers
  • Auto-resize height based on content
  • Beautify / Format button — auto-formats JSON, XML, etc.
  • Validation — Real-time JSON/XML validation indicators
  • Variable interpolation{{variables}} are highlighted inline

GraphQL

When the body language is set to GraphQL, the raw editor accepts standard GraphQL query syntax. Variables can be passed via the Params section or inline.

Last updated 12 hours ago