HTTP_STATUS
HTTP_STATUS: {
ACCEPTED: 202;
BAD_GATEWAY: 502;
BAD_REQUEST: 400;
CONFLICT: 409;
CREATED: 201;
FORBIDDEN: 403;
FOUND: 302;
GATEWAY_TIMEOUT: 504;
GONE: 410;
INTERNAL_SERVER_ERROR: 500;
METHOD_NOT_ALLOWED: 405;
MOVED_PERMANENTLY: 301;
NO_CONTENT: 204;
NOT_FOUND: 404;
NOT_IMPLEMENTED: 501;
NOT_MODIFIED: 304;
OK: 200;
PAYMENT_REQUIRED: 402;
SEE_OTHER: 303;
SERVICE_UNAVAILABLE: 503;
TOO_MANY_REQUESTS: 429;
UNAUTHORIZED: 401;
UNPROCESSABLE_ENTITY: 422;
}Source: api.ts:15
HTTP status codes
Properties
ACCEPTED(202) — Request accepted for processingBAD_GATEWAY(502) — Bad gatewayBAD_REQUEST(400) — Bad request syntaxCONFLICT(409) — Request conflictCREATED(201) — Resource createdFORBIDDEN(403) — Access forbiddenFOUND(302) — Resource found elsewhereGATEWAY_TIMEOUT(504) — Gateway timeoutGONE(410) — Resource gone permanentlyINTERNAL_SERVER_ERROR(500) — Internal server errorMETHOD_NOT_ALLOWED(405) — Method not allowedMOVED_PERMANENTLY(301) — Moved permanentlyNO_CONTENT(204) — No content to returnNOT_FOUND(404) — Resource not foundNOT_IMPLEMENTED(501) — Not implementedNOT_MODIFIED(304) — Not modified since last requestOK(200) — Request succeededPAYMENT_REQUIRED(402) — Payment requiredSEE_OTHER(303) — See other locationSERVICE_UNAVAILABLE(503) — Service unavailableTOO_MANY_REQUESTS(429) — Too many requestsUNAUTHORIZED(401) — Authentication requiredUNPROCESSABLE_ENTITY(422) — Validation failed