Skip to main content
Module

x/sift/mod.ts>validateRequest

Sift is a routing and utility library for Deno Deploy.
Go to Latest
function validateRequest
import { validateRequest } from "https://deno.land/x/sift@0.5.0/mod.ts";

Validate whether the incoming request meets the provided terms.

Returns

Promise<{ error?: { message: string; status: number; }; body?: { [key: string]: unknown; }; }>