cURL for Windows

January 14, 2014

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 'https://sghill.net'

For some detailed help:

Get-Help Invoke-WebRequest -Full

Note The quotes are optional.


Profile picture

Written by @sghill, who works on build, automated change, and continuous integration systems.