cURL for Windows

I’m back on a .NET project (and Windows) for the first time in three years and I’m looking for all my favorite tools. In particular, I really find building web services challenging without curl.

Luckily PowerShell 3 and later support Invoke-WebRequest. For example:

Invoke-WebRequest 'http://dev.sghill.net'

For some detailed help:

Get-Help Invoke-WebRequest -Full

Note The quotes are optional.


Published Jan 14, 2014

Updated Jul 23, 2014