git.iko.soy/typeable/servant
on master help sign in
Tweaked comment in Servant.API.Post
commitf37e39bb4d2009238fc100c512716f96ca88792f authorSönke Hahn <soenke.hahn@zalora.com> dateTue 28 Oct 2014, 14:25 (12 years ago) parentc08ca32
1 file changed+3−1
src/Servant/API/Post.hs+3−1
src/Servant/API/Post.hs+3−1
@@ -16,7 +16,9 @@ import Servant.Server
1616
1717import qualified Network.HTTP.Client as Client
1818
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).
2022data Post a
2123
2224instance ToJSON a => HasServer (Post a) where