Tweaked comment in Servant.API.Post
This commit is contained in:
parent
c08ca320a9
commit
f37e39bb4d
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue