Verify function and properly throwing an error? #4675
-
The What is the intention of the The JSON example below is pretty sexy, but I'm having trouble throwing an error properly for the XML example: Trying to validate that
Here's a pretty sweet (working) example of throwing an error if the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
The
verify
argument is called before the body has been parsed and is meant to be used to abort prior to parsing by throwing an error. The purpose of the option is for body signature valudation.