Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/deps.ts>createRequestBody

An object oriented Discordeno framework
Latest
function createRequestBody
Re-export
import { createRequestBody } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";

Creates the request body and headers that are necessary to send a request. Will handle different types of methods and everything necessary for discord.

Parameters

queuedRequest: { request: RestRequest; payload: RestPayload; }