Installing curl on windows 10

Installing curl on windows 10:

 

Downloading Curl for Windows:

Curl for Windows Portable Edition

Curl for Windows

 

Installing CURL in windows:

Once you downloaded the msi (or) exe file (or) portable from the above link double click and install it, if is is portable then just configure the environment variable alone like this,

 

Environment Variable Path Setting:

Start Program -> My computer (Right click) -> Properties -> Advanced system settings

 

curl php post example

env_variables

 

Enter the CURL installed path,

curl_installed_path

 

Giving the CURL_PATH in the path,

setting curl path in path

 

Open the command prompt,

cmd

CURL Request:
1
curl -d "name=jai ho" -d "genre=rap" "http://genius-api.com/api/songInfo"

 

 

Leave a Reply