From 7a7d533179fb0bda49ccf3a1145b5054ab985aeb Mon Sep 17 00:00:00 2001 From: UsernameFail Date: Fri, 2 Mar 2018 23:31:48 -0500 Subject: [PATCH] Remove SkipCertificateCheck flag --- reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md b/reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md index 709e18b58428..5c2087d17fd5 100644 --- a/reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md +++ b/reference/6/Microsoft.PowerShell.Utility/Invoke-RestMethod.md @@ -115,7 +115,7 @@ $Body = @{ earliest_time = "-2d@d" latest_time = "-1d@d" } -Invoke-RestMethod -Method 'Post' -Uri $url -Credential $Cred -Body $body -SkipCertificateCheck -OutFile output.csv +Invoke-RestMethod -Method 'Post' -Uri $url -Credential $Cred -Body $body -OutFile output.csv ``` In the above example, a user runs `Invoke-RestMethod` to perform a POST request on an intranet website in the user's organization. @@ -874,4 +874,4 @@ Some features may not be available on all platforms. [ConvertFrom-Json](ConvertFrom-Json.md) -[Invoke-WebRequest](Invoke-WebRequest.md) \ No newline at end of file +[Invoke-WebRequest](Invoke-WebRequest.md)