Baton Manual

Chapter 9

Request bodies

The body kind decides the editor and the Content-Type. — 1: Body kind — the editor and the Content-Type follow it
  1. Body kind — the editor and the Content-Type follow it
Figure 29: The body kind decides the editor and the Content-Type.

1 picks the kind. The editor below changes with it, and so does the Content-Type Baton sends unless a header overrides it.

KindFor
noneGET and anything else with nothing to send
JSONThe common case; the editor formats and folds it
TextAnything you want sent verbatim
Formapplication/x-www-form-urlencoded rows
MultipartRows that may be files — the boundary is Baton’s
BinaryA file sent as-is
GraphQLQuery 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.