Body Editor
The body editor supports JSON, XML, GraphQL, form-data, binary, and x-www-form-urlencoded with syntax highlighting.
Body Modes
| Mode | Description |
|---|---|
| none | No request body |
| raw | Free-text with language selection: JSON, XML, HTML, JavaScript, GraphQL, Plain Text |
| form-data | Multipart form data with text and file fields. File picker for uploads. |
| x-www-form-urlencoded | URL-encoded key-value pairs |
| binary | Raw 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.