PowerShell Snippets: Use Curl

PowerShellThis post is part of the series on PowerShell Snippets.

The following PowerShell command will execute curl passing in the authorization token and json parameters defined above the curl statement.

The main difference between this and curl on a normal command line is that you need to do curl.exe which is a built in alias for the Invoke-WebRequest cmdlet:

$ghAuthorizationToken =...

Continue Reading azurecurve’s Article on their blog

PowerShell Snippets: Use Curl

This post is part of the series on PowerShell Snippets. The following PowerShell command will execute curl passing in the authorization token and json parameters defined above the curl statement.

Blog Syndicated with azurecurve’s Permission

Author: Ian Grieve

Share This Post On
Share via
Copy link
Powered by Social Snap