ReqBody is a Servant combinator for declaring the request-body type and media representation an endpoint expects. For example, a POST endpoint can require JSON encoding of SomeType or TodoEntry. section 17.1.1
type Api = "send" :> ReqBody '[JSON] SomeType :> PostNoContent
Requires a JSON SomeType body at /send and returns an empty response; Servant automatically rejects nonconforming requests. section 17.1.1
"add" :> ReqBody '[JSON] TodoEntry :> PostCreated '[JSON] Int
Places ReqBody in a todo-list API, accepting a JSON TodoEntry for the add endpoint before returning a created integer result. section 17.1.1
