Search code examples
httpresponsehttp-status-codes

What is the most appropriate HTTP status code for flooding?


Which HTTP status is the most appropriate when user performs actions too fast (floods) or spams it? I believe it's one of 4XX family, but which one?


Solution

  • The answer is 429 Too Many Requests

    https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#429