Chapter 9
Request bodies
1 picks the kind. The editor below changes with it, and so does the Content-Type Baton sends unless a header overrides it.
| Kind | For |
|---|---|
| none | GET and anything else with nothing to send |
| JSON | The common case; the editor formats and folds it |
| Text | Anything you want sent verbatim |
| Form | application/x-www-form-urlencoded rows |
| Multipart | Rows that may be files — the boundary is Baton’s |
| Binary | A file sent as-is |
| GraphQL | Query and variables as two panes — see GraphQL and WebSocket 11 |
A JSON body takes {{variables}} like anywhere else, so a payload that differs only by an id between environments stays one request.
