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

x/natico/examples/deps.ts>createRequestBody

A powerful and customizable framework for Discordeno
Latest
function createRequestBody
Re-export
import { createRequestBody } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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; }