Request Method Related Primitives
req_method_in(method_list)
-
Description: Judge if request method matches configured patterns
-
Parameters
Parameter | Description |
---|---|
method_list | String a list of methods which are concatenated by |. valid method:GET/POST/PUT/DELETE |
- Example
req_method_in("GET|POST")