Get-KrRequestForm

SYNOPSIS

Retrieves a request form value from the HTTP request.

SYNTAX

Get-KrRequestForm [<CommonParameters>]

DESCRIPTION

This function accesses the current HTTP request context and retrieves the value of the request form.

EXAMPLES

EXAMPLE 1

$value = Get-KrRequestForm
Retrieves the value of the request form from the HTTP request.

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

Returns the value of the request form, or $null if not found.

NOTES

This function is designed to be used in the context of a Kestrun server response.