🔗
HTTP methods, status codes and headers
Foundation
GET, POST, PUT, PATCH, DELETE and their expected behaviour. When each status code (200, 201, 204, 400, 401, 403, 404, 500) should be returned, plus common headers like Content-Type and Authorization.
🔒
Authentication and authorisation
Security
API keys, Basic auth, Bearer tokens, OAuth 2.0, JWT, and the difference between authentication (who you are) and authorisation (what you can do).
✅
What you validate beyond the status code
Validation
Response body fields and data types, schema, headers, response time, error messages for invalid input, and that returned data matches what the system stored.
⚠️
Negative and edge-case testing
Robustness
Missing required fields, invalid formats, duplicate values, oversized input, wrong content type, missing or expired tokens, and unauthorised roles.
⚙️
Tools, automation and CI
Tools
Postman collections, environments and tests, REST Assured with Java, Newman for CLI runs, and how API tests fit into CI/CD pipelines (GitHub Actions, Jenkins, GitLab CI). Interviewers want to see that you can automate at scale, not just click in a UI.