ExTwilioWebhook.BodyReader (ex_twilio_webhook v0.0.5)
Body reader module that allows you to parse the request while keeping its body at the same time.
Usage:
plug Plug.Parsers,
parsers: [:urlencoded, :json],
pass: ["*/*"],
body_reader: {ExTwilioWebhook.BodyReader, :read_body, []},
json_decoder: JasonThe original raw body can be found at conn.private[:raw_body].
Summary
Functions
Link to this function