Having difficulties finding in API documentation or in this group, how to set/modify http requests details. Specifically would like to change requests to use POST method instead of GET and also provide "Authorization" header in requests. Can somebody assist on that ?
Launching ZAP proxy in daemon mode, to perform Active scan using the code:
ClientApi api = new ClientApi(ZAP_HOST, ZAP_PORT, true);
api.accessUrl(url);
Ascan ascan = new Ascan(api);
ApiResponse resp = ascan.scan(null, url, "True", "False", null, null, null);
Thanks