Extract the request body as a value of type a.
Example:
-- POST /bookstype MyApi = "books" :> ReqBody '[JSON] Book :> Post '[JSON] Book
GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31
Extract the request body as a value of type a.
Example:
-- POST /bookstype MyApi = "books" :> ReqBody '[JSON] Book :> Post '[JSON] Book