Prod.Echo
type EchoApi (segment :: Symbol) a = Summary "returns the input" :> ("echo" :> (segment :> (ReqBody '[JSON] a :> Post '[JSON] a))) Source #
handleEcho :: (FromJSON a, ToJSON a) => a -> Handler a Source #