Q1.What is API testing?
API testing is a type of software testing where APIs are tested directly to verify functionality, reliability, performance, and security. Instead of testing only the user interface, testers send requests to API endpoints and validate responses, status codes, headers, payloads, and business rules. API testing is important because APIs connect frontend applications, backend services, mobile apps, and third-party integrations. See API testing.