You are reading the documentation for the
next
version of discord.js. Documentation for v13/v14+ has been moved to
old.discordjs.dev
/
docs
/
packages
/
rest
/
main
/
RequestMethod%3AEnum
Search...
K
rest
discord.js
brokers
builders
collection
core
formatters
next
proxy
rest
util
voice
ws
main
Classes
CDN
DiscordAPIError
HTTPError
RateLimitError
REST
Functions
calculateUserDefaultAvatarIndex
makeURLSearchParams
parseResponse
Enums
RequestMethod
RESTEvents
Interfaces
APIRequest
BaseImageURLOptions
DiscordErrorData
ImageURLOptions
InvalidRequestWarningData
MakeURLOptions
OAuthErrorData
RateLimitData
RawFile
RequestBody
RequestData
RequestHeaders
ResponseLike
RestEvents
RESTOptions
Types
HandlerRequestData
ImageExtension
ImageSize
RateLimitQueueFilter
RestEventsMap
RouteLike
StickerExtension
Variables
ALLOWED_EXTENSIONS
ALLOWED_SIZES
ALLOWED_STICKER_EXTENSIONS
BurstHandlerMajorIdKey
DefaultRestOptions
DefaultUserAgent
DefaultUserAgentAppendix
OverwrittenMimeTypes
version
RequestMethod
export declare enum
RequestMethod
export declare enum
RequestMethod
Summary
Possible API methods to be used when doing requests
Members
Delete
=
"DELETE"
Get
=
"GET"
Patch
=
"PATCH"
Post
=
"POST"
Put
=
"PUT"