Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/revoltio/deps.ts>REST#post

No-nonsense Revolt library for nodejs and deno.
Latest
method REST.prototype.post
import { REST } from "https://deno.land/x/revoltio@v1.0.0/deps.ts";

Type Parameters

Path extends PostRoutes["path"]
Route extends Extract<PostRoutes, { path: Path; parts: Count<Path, "/">; method: "POST"; }>

Parameters

path: Path
optional
options: Partial<APIRequest> = [UNSUPPORTED]

Returns

Promise<Route["response"]>