Installing curl on windows 10:
Downloading Curl for Windows:
Curl for Windows Portable Edition
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
Enter the CURL installed path,
Giving the CURL_PATH in the path,
Open the command prompt,
cmd
CURL Request:
1
|
curl -d "name=jai ho" -d "genre=rap" "http://genius-api.com/api/songInfo" |