core
GET /JSON/core/action/sendRequest/
Changed onSends the HTTP request, optionally following redirections. Returns the request sent and response received and followed redirections, if any. The Mode is enforced when sending the request (and following redirections), custom manual requests are not allowed in 'Safe' mode nor in 'Protected' mode if out of scope.
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