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

x/keywork/router/classes/mod.ts>KeyworkRouter#post

A library for building V8 Isolate web apps on Cloudflare Workers, Deno, and Node.JS
Latest
method KeyworkRouter.prototype.post
import { KeyworkRouter } from "https://deno.land/x/keywork@v6.2.1/router/classes/mod.ts";

Defines a handler for incoming POST requests.

The HTTP POST method sends data to the server. The type of the body of the request is indicated by the Content-Type header.

Type Parameters

optional
ExpectedParams = { }
optional
Data = { }

Parameters

...args: Parameters<RouteMethodDeclaration<BoundAliases, ExpectedParams, Data>>