servant-0.4.1: A family of combinators for defining webservices APIs

Safe HaskellSafe-Inferred
LanguageHaskell2010

Servant.API.Delete

Synopsis

Documentation

data Delete contentTypes a Source

Combinator for DELETE requests.

Example:

>>> -- DELETE /books/:isbn
>>> type MyApi = "books" :> Capture "isbn" Text :> Delete

Instances

HasLink * (Delete y r) 
Typeable ([*] -> * -> *) Delete 
type MkLink * (Delete y r) = URI