Skip to main content
Module

x/http_fns/request/body_as_object.ts>getBodyAsObject

A bunch of functions for building HTTP servers
Go to Latest
function getBodyAsObject
import { getBodyAsObject } from "https://deno.land/x/http_fns@v0.0.27/request/body_as_object.ts";

Parameters

req: Request
optional
processForm: (data: Record<string, FormDataEntryValue>, form: FormData) => T

Returns

Promise<T> | never