API Testing Interview Preparation
API testing questions appear in almost every QA automation interview. They check whether you understand HTTP, status codes and what a meaningful API assertion looks like.
practice-questions
question 01 / 060/0 correct so far
What is the difference between HTTP status 401 and 403?
coding-challenges
1
Design the test list for an endpoint
You are given POST /api/contacts (creates a contact; requires auth; name and email are mandatory). Write down the 5 tests you would automate first, with the expected status code for each.
2
Write the happy-path test
Write a Playwright API test for POST /api/contacts: send valid data, assert status 201 and that the response contains the sent name and a generated id.
other-tracks