servant-0.2.2: A family of combinators for defining webservices APIs
Servant.API.Capture
Synopsis
data Capture sym a Source
Capture a value from the request path under a certain type a.
a
Example:
-- GET /books/:isbn type MyApi = "books" :> Capture "isbn" Text :> Get Book