request binding

A framework converting parts of an HTTP request, such as path variables, query parameters, headers and the body, into typed method arguments.

In more detail

Conversion is not validation: text may parse as a number and still be out of range. Binding produces a candidate object, validation then decides whether it is acceptable, and conversion failures should become a clear client error.

Related terms

Taught in

References