Reputation: 958
I would like to return a HTTP status code if signups for my site are currently disabled.
Would 503
work for this and/or is there a more appropriate code for this kind of request.
Upvotes: 0
Views: 2301
Reputation: 1416
503
looks appropriate.
From Wikipedia:
503 Service Unavailable
The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.
Upvotes: 3