Skip to content

includeFilter

Based on matching pattern, further filter requests that meet the specified conditions (requests that meet any of the conditions will be retained).

Syntax Rules

txt
pattern operation includeFilter://p1 includeFilter://p2 ...

Requests must match pattern and one of p1, p2, ... for this to work.

ParametersDescriptionDetailed Documentation
patternExpression to match the request URLMatch Pattern Documentation
operationOperation InstructionsOperation Instructions Documentation
filtersOptional filters, supporting matching:
• Request URL/Method/Headers/Content
• Response Status Code/Headers
Filter Documentation

Configuration Example

txt
# Only valid for GET or POST requests
www.example.com/api/data proxy://127.0.0.1:8080 includeFilter://m:GET includeFilter://m:POST

Can be used with excludeFilter. For detailed usage, see Filter documentation.