app/http_authorization_request_body/http_authorization_request_body
Request Body Authorization - Validate request body content before proxying Reference: njs-examples authorization patterns
This handler validates that the request body contains valid JSON with a required “token” field. If validation passes, the request is proxied to the backend via internal redirect.
Values
pub fn exports() -> ngx.JsObject