I have installed Curl on Windows 10, 64 bit OS.
Curl version is 7.57 and its path is C:\Program Files\curl-7.57.0\AMD64
I have copied the ca-bundle file to this location where curl.exe is present.
Also added this path in the System environment variable PATH.
But when I open the cmd and type curl, it gives no response whatsoever and also no error is seen.
What should be done to make curl work here? thanks.
Skip to second section for more direct solutions
I have had a lot of issues with cURL on Windows. For example, and I realize your issue is likely much different than this, the following cURL command for RabbitMQ's HTTP API works great on Linux but does not work with the latest version of cURL on Windows 10.
curl -i -v -u root:root -H "content-type:application/json" -XPOST -d'{"vhost":"/","name":"amq.default","properties":{"delivery_mode":1,"headers":{}},"routing_key":"EMAIL","delivery_mode":"1","payload":"dasdfasdf","headers":{},"props":{},"payload_encoding":"string"}' http://localhost:15672/api/exchanges/%2f/amq.default/publish
I realize this might be a roundabout answer but I would do the following:
Once that is enabled restart your computer. Once the computer has started back up search for bash.exe. You now have access to an Ubuntu bash shell. Run cURL from there.
You can read more about this from here
If you don't want to do that I can think of two other things.
"C:\Program Files\curl-7.57.0\AMD64"
Also, this is my personal preference, but I generally like to create create a new environment variable with the location. For example:
CURL - "C:\Program Files\curl-7.57.0\AMD64"
Then I append to the end of PATH a reference to the new CURL variable
%CURL%
I'm not saying this is necessary, just my preference. The double quotes will probably fix your issue though.