authorization
GET /JSON/authorization/action/setBasicAuthorizationDetectionMethod/
Changed onSets the authorization detection method for a context as one that identifies un-authorized messages based on: the message's status code or a regex pattern in the response's header or body. Also, whether all conditions must match or just some can be specified via the logicalOperator parameter, which accepts two values: "AND" (default), "OR".
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
- breaking
the
response's property type changed fromintegertostringfor status - info
added the optional property
to the response with the status
- breaking
- breaking
the
response's property type changed fromstringtointegerfor status - warning
removed the optional property
from the response with the status
- breaking