# route\_match

## Summary

### Example object

```javascript
{
  "path": "/services/example/latest/",
  "match_type": "prefix"
}
```

### Fields

#### `path`

String value that will be compared to the `:path` header on the incoming request using the chosen [match\_type](#matchtype).

#### `match_type`

Sets the type of string matching to perform on the [path](#path). Must be one of:

* `"prefix"` : [path](#path) must match the beginning of the `:path` header
* `"exact"` : [path](#path) must match exactly match the `:path` header. *(query strings are not included in this match)*
* `"regex"` : [path](#path) is interpreted as a regex that must match the `:path` header. *(query strings are not included in this match)*
