> For the complete documentation index, see [llms.txt](https://docs.imesh.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.imesh.ai/routes/header-and-query-based-matching.md).

# Header and Query-based matching

IMESH API Gateway allows users to create header-matching rules to match requests to destinations based on the contents of the headers. Note that while configuring the matcher on a route, you may want to specify one or more header matches to require headers with matching values to be present on the request.

{% embed url="<https://youtu.be/60TouxeESFg>" %}
