I wish to do DAST on a POST API.
While i can successfully make the request though Manual Editor on ZAP UI and generate a response & alerts, I am unable to do the same using cmd.
Reason for going through CMD is as we need to run our tests on an agent using Azure pipeline, hence headless mode.
What I have also tried is adding scripts through CMD & Automation Framework(by adding a script job) or using -script with cmd and providing the Script file, unfortunately it doesnt work. Script runs but it doesnt generate any data in the report and they are blank.
Use Case: DAST a POST API just as you can DAST a GET API using cmd & Automation Framework(-autorun).
P.S. - I have used -config.replacer to provide headers & auth for GET. I am using the same header setup for POST as well.
Any help will be highly appreciated.
Thank you.
Regards,
Karan Bohra