yea, curl.exe and curl are two different commands on windows. Fun stuff.
I do still find Invoke-WebRequest useful for testing, because it is magically able to reuse TCP connections whereas curl always opens a new connection per request.
Not "on Windows". In PowerShell 5. PowerShell core removed the curl alias 9 years ago.
I do still find Invoke-WebRequest useful for testing, because it is magically able to reuse TCP connections whereas curl always opens a new connection per request.