Comment on Curl: Nobody Wants to Work with WindowsparentComments−edflsafoiewq1moThere is already Invoke-WebRequest. Powershell 5 infamously shipped with "curl" as an alias for it. So be careful what you wish for.−chrisandchris1moIsn't Invoke-WebRequest the one that makes it really hard to have an exit code != 0 if your request fails?−PenguinCoder1moI REALLY hate that alias.
Comments
There is already Invoke-WebRequest. Powershell 5 infamously shipped with "curl" as an alias for it. So be careful what you wish for.
Isn't Invoke-WebRequest the one that makes it really hard to have an exit code != 0 if your request fails?
I REALLY hate that alias.