< Back

Test-PodeHeader

Sat Jan 18, 2020 7:21 pm

NAME Test-PodeHeader



SYNOPSIS

Tests if a header is present on the Request.





SYNTAX

Test-PodeHeader [-Name] <String> [<CommonParameters>]





DESCRIPTION

Tests if a header is present on the Request.





PARAMETERS

-Name <String>

The name of the header to test.



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.Boolean





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Test-PodeHeader -Name 'X-AuthToken'















RELATED LINKS