Body Editor
The Body tab lets you configure the request payload. The available editor depends on the body type.
Body Types
Section titled “Body Types”| Type | Editor | Use Case |
|---|---|---|
| None | — | GET, HEAD, DELETE requests |
| JSON | Monaco Editor (syntax-highlighted) | REST APIs, GraphQL |
| XML | Monaco Editor (syntax-highlighted) | SOAP, legacy XML APIs |
| Text | Plain text area | Raw text payloads |
| Form Data | Key-value editor | File uploads, multipart forms |
| URL Encoded | Key-value editor | Standard web forms |
JSON Editor
Section titled “JSON Editor”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 beautifyForm Data
Section titled “Form Data”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)URL Encoded
Section titled “URL Encoded”Standard application/x-www-form-urlencoded format.
// Body type: URL Encoded// grant_type = authorization_code// code = abc123// redirect_uri = https://example.com/callbackEnvironment Variables
Section titled “Environment Variables”Use {{variable_name}} in any body field. Flamingo resolves variables before sending.