Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function createRequestBody
Re-export
import { createRequestBody } from "https://deno.land/x/discordeno@17.2.0/plugins/cache/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.