replacer
GET /JSON/replacer/action/addRule/
Changed onAdds a replacer rule. For the parameters: desc is a user friendly description, enabled is true or false, matchType is one of [REQ_HEADER, REQ_HEADER_STR, REQ_BODY_STR, RESP_HEADER, RESP_HEADER_STR, RESP_BODY_STR], matchRegex should be true if the matchString should be treated as a regex otherwise false, matchString is the string that will be matched against, replacement is the replacement string, initiators may be blank (for all initiators) or a comma separated list of integers as defined in <a href="https://www.zaproxy.org/docs/constants/">Request Initiator Constants</a>
Request
- Base URLhttp://zap
- Auth
- none
- or API key in header X-ZAP-API-Key
- or API key in query parameter apikey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
Error of JSON endpoints.
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking