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

Safe HaskellSafe-Inferred
LanguageHaskell2010

Servant.API.Get

Synopsis

Documentation

data Get contentTypes a Source

Endpoint for simple GET requests. Serves the result as JSON.

Example:

>>> type MyApi = "books" :> Get '[JSON] [Book]

Instances

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