Skip to main content
Module

x/momentum/core/mod.ts>ContextAccessor#getBody

Momentum is an open-source framework for building server-side Deno applications in TypeScript. It provides the paradigms and design patterns to guide developers to create robust, scalable, and enterprise-grade applications.
Latest
method ContextAccessor.prototype.getBody
Re-export
import { ContextAccessor } from "https://deno.land/x/momentum@v0.8.2/core/mod.ts";

Get the request body

Returns

Promise<unknown>

Get a field from the request body

Parameters

name: string | undefined

Returns

Promise<unknown>