servant-0.4.2: A family of combinators for defining webservices APIs
Servant.API.Delete
Synopsis
data Delete contentTypes a Source
Combinator for DELETE requests.
Example:
>>> -- DELETE /books/:isbn >>> type MyApi = "books" :> Capture "isbn" Text :> Delete
>>>
-- DELETE /books/:isbn
type MyApi = "books" :> Capture "isbn" Text :> Delete
Instances