I was testing some nodejs server code and wanted to test the urls from windows power shell using the curl command. Some things to note here: 1. I have mingw and git bash ins
It looks like you already have curl
as an alias to Ivoke-WebRequest
:
Invoke-WebRequest : A parameter cannot be found that matches parameter name 'X'.
Try running remove-item alias:\curl
and see if you now get the right curl being invoked. Alternatively, try by specifying the absolute path, i.e. c:\curl\curl.exe ...
.