Web application penetration test of an API