It’s useful for testing monitoring services.
Just add the status code you want to the end of the URL, like this https://statuscode.app/200