The Request Payload is extra data sent from the browser during the request. In the response you normally have the response header and the response body. The request payload is the request’s version of a request body. It is how form data, ajax data, and image data is sent. Usually only POST/PUT calls have a request payload. A common use case for websites is to access this data within API calls on their site.
SiteSpect offers Request Payload as a trigger option in campaigns and metrics. This means you can match or trigger on any element in the request payload using simple contains or more elaborate regex options. There are many matching options available detailed below.
Matching Options
Request Payload allow the following matching options:
- Contains
- Does not contain
- Starts with
- Does not start with
- Ends with
- Does not end with
- Exactly
- Does not match exactly
- Regex
- Does not match regex
Since the Request Payload trigger follows the same rules as other campaign or metric triggers it can be paired with other trigger types or with additional Request Payload triggers using the AND/OR boolean operators.
Trigger Options