Powershell making curl as an alias to Invoke-Webrequest.

Invoke-WebRequest http://yourURLhere -Headers @{"accept"="application/json"}

Invoke-WebRequest

stackoverflow