← Quiz: API Design: all 15 questions
Quiz: API Design · Question 2 of 15
A logged-in student tries to open an admin-only page. Which status code fits best?
A logged-in student tries to open an admin-only page. Which status code fits best?
- A.401 Unauthorized
- B.403 Forbidden
- C.404 Not Found
- D.500 Internal Server Error
Answer & explanation
Correct answer: 403 Forbidden
401 means "not logged in"; 403 means "we know who you are, but you are not allowed".
Can you get the rest right without peeking?
Take the timed Quiz: API Design quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →