Created
April 8, 2020 01:41
-
-
Save kevinjie/d1b79ff69282a428cc0bdb3142a384c5 to your computer and use it in GitHub Desktop.
[HTTP_STATUS] 常见HTTP状态 #HTTP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const HTTP_STATUS = { | |
SUCCESS: 200, | |
CREATED: 201, | |
ACCEPTED: 202, | |
CLIENT_ERROR: 400, | |
AUTHENTICATE: 401, | |
FORBIDDEN: 403, | |
NOT_FOUND: 404, | |
SERVER_ERROR: 500, | |
BAD_GATEWAY: 502, | |
SERVICE_UNAVAILABLE: 503, | |
GATEWAY_TIMEOUT: 504 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment