Extract the request body as a value of type a.
Example:
-- POST /bookstype MyApi = "books" :> ReqBody '[JSON] Book :> Post '[JSON] Book
GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12
Extract the request body as a value of type a.
Example:
-- POST /bookstype MyApi = "books" :> ReqBody '[JSON] Book :> Post '[JSON] Book