Alexis Tyler
Alexis Tyler

Reputation: 958

HTTP status code for "disabled temporarily"

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

Answers (1)

letmutx
letmutx

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

Related Questions