< Back
Get-PodeHeader
Post
NAME Get-PodeHeader
SYNOPSIS
Retrieves the value of a header from the Request.
SYNTAX
Get-PodeHeader [-Name] <String> [<CommonParameters>]
DESCRIPTION
Retrieves the value of a header from the Request.
PARAMETERS
-Name <String>
The name of the header to retrieve.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.String
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-PodeHeader -Name 'X-AuthToken'
RELATED LINKS
SYNOPSIS
Retrieves the value of a header from the Request.
SYNTAX
Get-PodeHeader [-Name] <String> [<CommonParameters>]
DESCRIPTION
Retrieves the value of a header from the Request.
PARAMETERS
-Name <String>
The name of the header to retrieve.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
System.String
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-PodeHeader -Name 'X-AuthToken'
RELATED LINKS