All Products
Search
Document Center

API Gateway:HttpRouteMatch

Last Updated:Dec 25, 2025
ParameterTypeDescriptionExample
object

The route matching rule.

ignoreUriCaseboolean

Specifies whether the path is case-insensitive.

true
pathobject

The path rule.

typestring

The path matching type. Valid values:

  • Exact: exact match
  • Prefix: prefix match
  • Regex: regular expression
Prefix
valuestring

The path.

/user
headersarray<object>

The rules for matching based on HTTP request headers.

headerobject

The rule.

typestring

The match type. Valid values:

  • Exact: exact match
  • Prefix: prefix match
  • Regex: regular expression
Exact
namestring

The header name.

dev
valuestring

The header value.

true
methodsarray

The HTTP methods.

methodstring

The HTTP method. Valid values:

  • GET
  • HEAD
  • POST
  • PUT
  • DELETE
  • CONNECT
  • OPTION
  • TRACE
  • PATCH
GET
queryParamsarray<object>

The rules for matching based on query parameters.

queryParamobject

The rule.

typestring

The match type. Valid values:

  • Exact: exact match
  • Prefix: prefix match
  • Regex: regular expression
Exact
namestring

The parameter name.

age
valuestring

The parameter value.

17