method Request.prototype.bodyParamimport { Request } from "https://deno.land/x/drash@v2.7.0/mod.ts"; bodyParam<T>(name: string): T | undefinedGet a body parameter of the request by the name ExamplesExample 1 // Assume you've sent a fetch request with: // { // user: { // name: "Drash" // } // } const user = request.bodyParam<{ name: string }>("user") // { name: "Drash" } // More examples: request.bodyParam<BodyFile[]>('uploads') Type ParametersTParametersname: stringThe body parameter name ReturnsT | undefinedThe value of the parameter if found, or undefined if not found.