# `MPP.Demo.Router`
[🔗](https://github.com/ZenHive/mpp/blob/v0.10.0/lib/mpp/demo/router.ex#L1)

Demo router for `mix mpp.demo` — serves a protected endpoint behind MPP.

Routes:

  * `GET /` — welcome page with JSON instructions
  * `GET /resource` — protected endpoint (402 without payment, 200 with valid credential)
  * `GET /health` — unprotected healthcheck

# `call`

# `init`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
