Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ash/mod.ts>Route.post

A stylish web framework for Deno!
Latest
method Route.post
Re-export
import { Route } from "https://deno.land/x/ash@1.3.6/mod.ts";

Registers a route that matches for the HTTP POST method.

Parameters

path: string

The path to register.

controller: Controller | Function

The controller that will be called when the path is matched.