I have this curl to call an api:
curl -X POST -u user:password /to/the/end/point
And if i get the request with zapproxy i can send this and do an active attack, but i am trying this calling to the python api. I cant authenticate using basic authorization (base64 or user:password). I am trying creating a context with the gui and export and using it with zap-api-scan.py, but it dont work.
I have already read these post:
https://zaproxy.blogspot.com/2017/06/scanning-apis-with-zap.html
Basic Authorization in OWASP ZAP
But I have not found the solution.
Please can you help me?
Thanks.