| external help file | Pretendpoint.dll-Help.xml |
|---|---|
| Module Name | Pretendpoint |
| online version | https://docs.microsoft.com/dotnet/api/system.net.httplistener |
| schema | 2.0.0 |
Parses an HTTP listener request.
Read-WebRequest [-Request] <HttpListenerRequest> [-Encoding <String>] [-IncludeHeaders] [<CommonParameters>]
{{ Fill in the Description }}
PS C:\> Read-WebRequest $httpContext.Request
Parses the request body as a string or byte array.
The HTTP listener to receive the request through.
Type: HttpListenerRequest
Parameter Sets: (All)
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: FalseForces an encoding for the request body; byte or hex for binary, others for text.
Type: String
Parameter Sets: (All)
Aliases: Incoding
Accepted values: ascii, byte, hex, utf16, utf16BE, utf32, utf32BE, utf7, utf8
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseIndicates that the HTTP request headers should be output.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
https://docs.microsoft.com/dotnet/api/system.net.httplistener