PowerShell - Cross-Platform PowerShell
Which parameter is used with
Invoke-RestMethod to include HTTP headers in the request?Invoke-RestMethod to include HTTP headers in the request?-Headers parameter allows passing a dictionary of headers to the request.-Body is for data payload, -Uri is the URL, and -Method specifies HTTP method.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions