servant-0.2.2: A family of combinators for defining webservices APIs
Servant.API.ReqBody
Synopsis
data ReqBody a Source
Extract the request body as a value of type a.
a
Example:
-- POST /books type MyApi = "books" :> ReqBody Book :> Post Book