curl on windows with https

The easiest way to get curl on windows with HTTPS is to simply download and install the git package then add

c:\Program Files (x86)\Git\bin

as an environment variable to allow you to run curl from anywhere.

Don’t forget when running curl commands in a DOS prompt to use double quotes.

Example:

curl https://www.cloudflare.com/api_json.html -d "a=fpurge_ts" -d "tkn=" -d "email=" -d "z=domain" -d "v=1"

{"response":{"fpurge_ts":1359831767},"result":"success","msg":null,"attributes":{"cooldown":20}}

Leave a Reply

  

  

  

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>