Skip to main content

Request Body

The Body tab lets you send data with POST, PUT, and PATCH requests.

Body Modes​

None​

No body is sent. Use for GET, HEAD, DELETE requests.

Raw​

Send a raw text body with a specified language/format. Select the language from the dropdown:

LanguageContent-Type set automatically
JSONapplication/json
XMLapplication/xml
HTMLtext/html
Texttext/plain
JavaScriptapplication/javascript

The editor provides syntax highlighting and formatting for the selected language.

JSON Body Example​

Select Raw → JSON and enter:

{
"name": "{{$randomFirstName}} {{$randomLastName}}",
"email": "{{userEmail}}",
"role": "admin"
}

Variables in the body are resolved before the request is sent.

Tips​

  • Press Ctrl+Enter to send without leaving the body editor
  • Use {{$randomUUID}} as an ID field when creating test data
  • The body editor supports the Monaco editor with full IntelliSense for JSON

Content-Type​

The Content-Type header is set automatically based on the body mode you select. You can override it manually in the Headers tab if needed.