success
success configuration for the httpRequest module.
← httpRequestobject
| property | type | default | description |
|---|---|---|---|
expression | string | — | expr expression evaluated against the response. Available variables: `statusCode` (int), `headers` (map[string][]string), `body` (parsed JSON when applicable). Must return a boolean. |
statusCodes | array<integer> | [200,201,202,203,204] | HTTP status codes considered successful. |