From 53525b10a8d8d205822350a2c4aa58651a3cbfb1 Mon Sep 17 00:00:00 2001 From: Mathijs de Ruiter <33999622+EUCTechTopics@users.noreply.github.com> Date: Thu, 6 Mar 2025 10:15:15 +0100 Subject: [PATCH] Added IncludeHTTPResponse Parameter --- PSIdentityNow/Public/Invoke-IDNWRestMethod.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PSIdentityNow/Public/Invoke-IDNWRestMethod.ps1 b/PSIdentityNow/Public/Invoke-IDNWRestMethod.ps1 index 8f32410..94c3dbb 100644 --- a/PSIdentityNow/Public/Invoke-IDNWRestMethod.ps1 +++ b/PSIdentityNow/Public/Invoke-IDNWRestMethod.ps1 @@ -65,6 +65,10 @@ function Invoke-IDNWRestMethod { [String] $ContentType = "application/json", + [Parameter(Mandatory = $false)] + [Switch] + $IncludeHTTPResponse = $false, + [Parameter(Mandatory = $false)] [Int] $MaxRetries = 3,