API Testing · Middle · Question 11 of 75
What is the difference between 502, 503 and 504?
- 1They are all the same error with different numbers
- 2Bad upstream response, service unavailable, upstream timeout
- 3Wrong URL, wrong method and wrong body in the request
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.