Validates a full HTTP request as an event-mode payload.
Accepts an HttpRequest object.
This function validates that the request uses the POST method and has the correct Content-Type header (application/cmcd) in addition to validating the body content via validateCmcdEvents.
Content-Type
application/cmcd
An HttpRequest to validate.
HttpRequest
Optional
Validation options (excluding reportingMode).
reportingMode
The validation result including decoded data per event line.
CTA-5004-A Event Mode
Validates a full HTTP request as an event-mode payload.
Accepts an HttpRequest object.
This function validates that the request uses the POST method and has the correct
Content-Typeheader (application/cmcd) in addition to validating the body content via validateCmcdEvents.