Variable HttpStatusCodesConst
HttpStatusCodes: Readonly<{
OK: 200;
CREATED: 201;
NO_CONTENT: 204;
BAD_REQUEST: 400;
UNAUTHORIZED: 401;
FORBIDDEN: 403;
NOT_FOUND: 404;
METHOD_NOT_ALLOWED: 405;
TOO_MANY_REQUESTS: 429;
INTERNAL_SERVER_ERROR: 500;
BAD_GATEWAY: 502;
SERVICE_UNAVAILABLE: 503;
GATEWAY_TIMEOUT: 504;
}> = ...
Type declaration
Readonly OK: 200
Readonly CREATED: 201
Readonly NO_CONTENT: 204
Readonly BAD_REQUEST: 400
Readonly UNAUTHORIZED: 401
Readonly FORBIDDEN: 403
Readonly NOT_FOUND: 404
Readonly METHOD_NOT_ALLOWED: 405
Readonly TOO_MANY_REQUESTS: 429
Readonly INTERNAL_SERVER_ERROR: 500
Readonly BAD_GATEWAY: 502
Readonly SERVICE_UNAVAILABLE: 503
Readonly GATEWAY_TIMEOUT: 504
Common HTTP status codes