What each body type sends#

Pick one of six body types, and the matching Content-Type is set for you.

The Body tab decides what the request carries. A segmented control at the top selects the body type, and the panel below changes to match. This page covers the picker and the header that each type sets. A body only goes out on POST, PUT, and PATCH requests. On other methods the app keeps the body but does not send it.

The Body tab type picker showing None, form-data, x-www-form-urlencoded, Raw, GraphQL, and Binary

The body types#

  • None: the app sends no body. The panel reads This request does not have a body.
  • form-data: a table that the app sends as a multipart form, where each row is a text field or a file. See form-data body.
  • x-www-form-urlencoded: a table of pairs that the app joins into one encoded string. See URL-encoded body.
  • Raw: a block of text with a format dropdown. See Raw body.
  • GraphQL: a query and variables editor. Request types describes it.
  • Binary: the raw bytes of a file on disk. See Binary body.

Each type keeps its own contents. Switch away from a type and back, and its table, text, or file is as you left it.

The Content-Type it sets#

The body type that you select sets the request Content-Type for you.

Body typeContent-Type
form-datamultipart/form-data
x-www-form-urlencodedapplication/x-www-form-urlencoded
Raw, Texttext/plain
Raw, JSONapplication/json
Raw, HTMLtext/html
Raw, XMLapplication/xml
Raw, JavaScriptapplication/javascript
GraphQLapplication/json
Binaryapplication/octet-stream