Send a raw text body#
Type the body as text and pick the format that sets its highlighting and header.
The Raw body type sends the body as a single block of text. A format dropdown above the editor sets both the syntax highlighting and the Content-Type. This page covers the editor and the formats.
The raw text editor#
The body is a code editor. It takes typed or pasted text and highlights it in the chosen format. Switch to Raw and the editor starts empty. Add your body, then send.
The format dropdown#
The dropdown, at the top of the editor, offers Text, JSON, HTML, XML, and JavaScript. The format sets the highlighting and the Content-Type. It does not check the body, so the app still sends text that does not parse. The server then accepts or rejects it.
The Content-Type it sets#
| Format | Content-Type |
|---|---|
| Text | text/plain |
| JSON | application/json |
| HTML | text/html |
| XML | application/xml |
| JavaScript | application/javascript |