route_match

Summary

Example object

1
{
2
"path": "/services/example/latest/",
3
"match_type": "prefix"
4
}
Copied!

Fields

path

String value that will be compared to the :path header on the incoming request using the chosen match_type.

match_type

Sets the type of string matching to perform on the path. Must be one of:
  • "prefix" : path must match the beginning of the :path header
  • "exact" : path must match exactly match the :path header. (query strings are not included in this match)
  • "regex" : path is interpreted as a regex that must match the :path header. (query strings are not included in this match)
Last modified 1yr ago
Export as PDF
Copy link