New-PSUApiResponse
Returns a custom API response from a PowerShell Universal REST API.
SYNOPSIS
SYNTAX
Body (Default)
New-PSUApiResponse [-StatusCode <Int32>] [-Body <String>] [-Cookies <Hashtable>] [-ContentType <String>]
[-Headers <Hashtable>] [<CommonParameters>]Data
New-PSUApiResponse [-StatusCode <Int32>] [-Cookies <Hashtable>] [-Data <Byte[]>] [-ContentType <String>]
[-Headers <Hashtable>] [<CommonParameters>]DESCRIPTION
EXAMPLES
Example 1
PARAMETERS
-Body
-ContentType
-Cookies
-Data
-StatusCode
-Headers
CommonParameters
INPUTS
None
OUTPUTS
System.Object
NOTES
RELATED LINKS
Last updated
Was this helpful?