How to Test APIs for Vulnerabilities