Collection of powershell stuff.
Curl replacement
Invoke-WebRequest -Uri http://localhost
Invoke-WebRequest -Uri http://localhost -Method POST
$cred = Get-Credential
Invoke-WebRequest -Uri http://localhost -Method POST -Credential $cred -UseBasicParsing