← Quiz: API Design: all 15 questions
Quiz: API Design · Question 14 of 15
Why does a retry make sense for a 503 response but not for a 400 response?
Why does a retry make sense for a 503 response but not for a 400 response?
- A.503 means the server is temporarily unable to serve; 400 means the input itself is wrong, so the same request will fail again
- B.400 responses are cached by browsers
- C.503 is only sent to logged-in users
- D.Retries are never allowed for 4xx or 5xx
Answer & explanation
Correct answer: 503 means the server is temporarily unable to serve; 400 means the input itself is wrong, so the same request will fail again
4xx asks the client to change the request; 5xx may succeed later.
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 →