HTTP interview questions — Easy
210 easy-level HTTP questions from our API Testing bank, each with the correct answer and an explanation of why it is correct.
What this covers
HTTP appears throughout API Testing interviews. At easy level, interviewers are typically checking that you know the fundamentals and can describe them precisely — definitions, defaults, and the basic mechanics. Work through these, then explain your answer out loud; the second part is what interviews actually test.
1 example questions
1. Which HTTP status code family indicates a client-side error such as a bad request or unauthorized access?
- A. 2xx.
- B. 3xx.
- C. 4xx.correct
- D. 5xx.
Why: 4xx codes (400, 401, 403, 404, …) indicate client errors; 5xx indicate server errors, 2xx success, 3xx redirection.