🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.503 means the server is temporarily unable to serve; 400 means the input itself is wrong, so the same request will fail again
  2. B.400 responses are cached by browsers
  3. C.503 is only sent to logged-in users
  4. 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 →