Question: why api testing is needed?
Answer: And API testing allows the tester to make requests that might not be allowed through the UI, which is crucial for exposing potential security flaws in an application. Because changes in software happen at such a rapid pace today, it's important to have tests that provide fast feedback for developers and testers.