What HTTP status should an API return for rate limiting?
Reveal the answer and explore the explanation.
12MediumHigh priorityWhat HTTP status should an API return for rate limiting?
Answer
MediumHigh priority
What HTTP status should an API return for rate limiting?
Answer
Status indicating that the caller has exceeded a request limit under the server's policy.
Practical example
Return an appropriate response when a quota is exhausted.
Reference: Further reading ↗