rest-example-0.2.0.1: Example project for rest

Safe HaskellNone
LanguageHaskell2010

Api.Post

Synopsis

Documentation

type WithPost = ReaderT Identifier BlogApi Source

Post extends the root of the API with a reader containing the ways to identify a Post in our URLs. Currently only by the title of the post.

resource :: Resource BlogApi WithPost Identifier () Void Source

Defines the /post api end-point.