@@ -16,7 +16,9 @@ import Servant.Server
17import qualified Network.HTTP.Client as Client
17import qualified Network.HTTP.Client as Client
19−-- | Endpoint for POST requests.
19+-- | Endpoint for POST requests. The type variable represents the type of the
20+-- response body (not the request body, use 'Servant.API.RQBody.RQBody' for
20data Post a
22data Post a
22instance ToJSON a => HasServer (Post a) where
24instance ToJSON a => HasServer (Post a) where