Version: v2023-05-30 | Includes use: Yes |
---|
Criterion name: Request Method
Specify the request's HTTP verb. Also supports WebDAV methods and common Akamai operations.
Default criterion
These samples reflect the criterion's default settings. You can use these as is in your configurations or make adjustments based on the criterion's available options.
data "akamai_property_rules_builder" "request_method" {
rules_v2023_05_30 {
name = "Request Method"
comments = "Specify the request's HTTP verb."
criterion {
request_method {
match_operator = "IS"
value = "GET"
}
}
}
}
"criterion": [
{
"name": "requestMethod",
"options": {
"matchOperator": "IS",
"value": "GET"
}
}
]
Options
Option | Description |
---|---|
match_operator |
Matches the
value when set to IS , otherwise IS_NOT reverses the match. Value is one of:
|
value |
An HTTP method, WebDAV method, or Akamai operation. Value is one of:
|