File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
reference/6/Microsoft.PowerShell.Utility Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ $Body = @{
115
115
earliest_time = "-2d@d"
116
116
latest_time = "-1d@d"
117
117
}
118
- Invoke-RestMethod -Method 'Post' -Uri $url -Credential $Cred -Body $body -SkipCertificateCheck - OutFile output.csv
118
+ Invoke-RestMethod -Method 'Post' -Uri $url -Credential $Cred -Body $body -OutFile output.csv
119
119
```
120
120
121
121
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.
874
874
875
875
[ConvertFrom-Json](ConvertFrom-Json.md)
876
876
877
- [Invoke-WebRequest](Invoke-WebRequest.md)
877
+ [Invoke-WebRequest](Invoke-WebRequest.md)
You can’t perform that action at this time.
0 commit comments