request body

The main content of an HTTP request or response, such as a JSON object describing an order to create.

In more detail

Bodies carry structured input for creation or replacement, and the response body carries the result. A body can have a valid shape and still break a business rule, so parse it into an explicit model and then validate it.

Related terms

Taught in

References