1. Home
  2. ...
  3. Traffic Interceptors
  4. String Match Condition

String Match Condition

Identification of strings in the request or response to block or allow the call flow.

The String Match Condition interceptor can be used to identify strings in a request or response and, then, block or allow the call flow to run. Conditions may be applied in the following locations:

  • Request to backend:

    • URI Path
    • Query Param
    • Header
    • Body
  • Response to client:

    • Header
    • Body

To use the interceptor, fill in the Regex field by typing the corresponding condition. In the Location field, select where the regular expression will be executed and, if you wish to stop the call in case the condition is satisfied, check the Abort if match option.

If the option Abort if match is selected, the following HTTP status codes for errors will be displayed:

HTTP Status - Request to backend
HTTP Status - Response to client
400500

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more