git.iko.soy/typeable/servant
on master help sign in
Tweaked comment in Servant.API.Post
f37e39bSönke Hahn
src/Servant/API/Post.hs+3−1
@@ -16,7 +16,9 @@ import Servant.Server
16
16
17import qualified Network.HTTP.Client as Client
17import qualified Network.HTTP.Client as Client
18
18
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
21+-- that).
20data Post a
22data Post a
21
23
22instance ToJSON a => HasServer (Post a) where
24instance ToJSON a => HasServer (Post a) where