API Testing · Middle · Question 11 of 75

What is the difference between 502, 503 and 504?

Show the answer

Correct answer: Bad upstream response, service unavailable, upstream timeout

Explanation

These codes help locate a problem: a gateway got garbage, the service is down or overloaded, or the gateway waited too long.

Further reading

Problem with a question

API Testing · Middle · question 11

Test yourself

Take the API Testing · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz