eview v0.2.9 EView
This plug will take body_params
from Plug.Conn structure
and re-render it with appropriate structure to resp_body
.
What is appropriate structure? Take look at Nebo #15 API Manifest.
Example:
Add to your endpoint.ex
before Plug.Parsers plug:
plug EView
plug EView.IdempotencyPlug
Summary
Functions
Callback implementation for Plug.call/2
.
Callback implementation for Plug.init/1
.