servant-0.2.1: src/Servant/API/ReqBody.hs
{-# LANGUAGE PolyKinds #-}
module Servant.API.ReqBody where
-- | Extract the request body as a value of type @a@.
--
-- Example:
--
-- > -- POST /books
-- > type MyApi = "books" :> ReqBody Book :> Post Book
data ReqBody a