request_​method

Version: v2023-05-30Includes 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:
  • IS. Tests wether the field's string matches.
  • IS_NOT. Tests whether the field's string doesn't match.
value
An HTTP method, WebDAV method, or Akamai operation. Value is one of:
  • Standard HTTP methods
    • POST
    • HEAD
    • PUT
    • PATCH
    • HTTP_DELETE
    • OPTIONS
  • WebDAV methods
    • DAV_ACL
    • DAV_CHECKOUT
    • DAV_COPY
    • DAV_DMCREATE
    • DAV_DMINDEX
    • DAV_DMMKPATH
    • DAV_DMMKPATHS
    • DAV_DMOVERLAY
    • DAV_DMPATCHPATHS
    • DAV_LOCK
    • DAV_MKCALENDAR
    • DAV_MKCOL
    • DAV_MOVE
    • DAV_PROPFIND
    • DAV_PROPPATCH
    • DAV_REPORT
    • DAV_SETPROCESS
    • DAV_SETREDIRECT
    • DAV_TRUTHGET
    • DAV_UNLOCK
  • Akamai operations
    • AKAMAI_TRANSLATE
    • AKAMAI_PURGE