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

Safe HaskellSafe
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) Source 
type MkLink * (Get y r) = URI Source