Tweaked comment in Servant.API.Post

This commit is contained in:
Sönke Hahn 2014-10-28 14:25:08 +08:00
parent c08ca320a9
commit f37e39bb4d

View file

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