Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
enum HTTPResponseCodes
Re-export
import { HTTPResponseCodes } from "https://deno.land/x/discordeno@17.0.1/packages/embeds/deps.ts";

Members

BadRequest = 400

The request was improperly formatted, or the server couldn't understand it.

Created

The entity was created successfully.

Forbidden = 403

The Authorization token you passed did not have permission to the resource.

GatewayUnavailable = 502

There was not a gateway available to process your request. Wait a bit and retry.

MethodNotAllowed

The HTTP method used is not valid for the location specified.

NoContent = 204

The request completed successfully but returned no content.

NotFound

The resource at the location specified doesn't exist.

NotModified = 304

The entity was not modified (no action was taken).

Ok = 200

The request completed successfully.

TooManyRequests = 429

You are being rate limited, see Rate Limits.

Unauthorized

The Authorization header was missing or invalid.