servant-0.4.4.6: A family of combinators for defining webservices APIs
Servant.API.Get
Synopsis
data Get contentTypes a Source
Endpoint for simple GET requests. Serves the result as JSON.
Example:
>>> type MyApi = "books" :> Get '[JSON] [Book]
>>>
type MyApi = "books" :> Get '[JSON] [Book]
Instances