Skip to content

Body Editor

The Body tab lets you configure the request payload. The available editor depends on the body type.

TypeEditorUse Case
NoneGET, HEAD, DELETE requests
JSONMonaco Editor (syntax-highlighted)REST APIs, GraphQL
XMLMonaco Editor (syntax-highlighted)SOAP, legacy XML APIs
TextPlain text areaRaw text payloads
Form DataKey-value editorFile uploads, multipart forms
URL EncodedKey-value editorStandard web forms

The JSON editor is powered by Monaco Editor (the same engine as VS Code). Features:

  • Syntax highlighting
  • JSON validation
  • Format button (pretty-print JSON)
// Select Body type: JSON
// Enter:
{
"name": "John Doe",
"email": "john@example.com",
"age": 30
}
// Click Format to beautify

Use the key-value editor to build multipart form data. Each entry has a key and value.

// Body type: Form Data
// username = johndoe
// avatar = (binary file selection)

Standard application/x-www-form-urlencoded format.

// Body type: URL Encoded
// grant_type = authorization_code
// code = abc123
// redirect_uri = https://example.com/callback

Use {{variable_name}} in any body field. Flamingo resolves variables before sending.