< Back
Add-PodeHeader
Post
NAME Add-PodeHeader
SYNOPSIS
Appends a header against the Response.
SYNTAX
Add-PodeHeader [-Name] <String> [-Value] <String> [<CommonParameters>]
DESCRIPTION
Appends a header against the Response. If the current context is serverless, then this function acts like
Set-PodeHeader.
PARAMETERS
-Name <String>
The name of the header.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Value <String>
The value to set against the header.
Required? true
Position? 2
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Add-PodeHeader -Name 'X-AuthToken' -Value 'AA-BB-CC-33'
RELATED LINKS
SYNOPSIS
Appends a header against the Response.
SYNTAX
Add-PodeHeader [-Name] <String> [-Value] <String> [<CommonParameters>]
DESCRIPTION
Appends a header against the Response. If the current context is serverless, then this function acts like
Set-PodeHeader.
PARAMETERS
-Name <String>
The name of the header.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Value <String>
The value to set against the header.
Required? true
Position? 2
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Add-PodeHeader -Name 'X-AuthToken' -Value 'AA-BB-CC-33'
RELATED LINKS