1{-# LANGUAGE DeriveDataTypeable #-}
2module Servant.API.Patch where
4import Data.Typeable ( Typeable )
6-- | Endpoint for PATCH requests. The type variable represents the type of the
7-- response body (not the request body, use 'Servant.API.ReqBody.ReqBody' for
10-- If the HTTP response is empty, only () is supported.
15-- > -- with a JSON encoded Book as the request body
16-- > -- returning the just-created Book
17-- > type MyApi = "books" :> ReqBody Book :> Post Book
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list