win7/8 use curl

1. To use curl under WIN7/8, you need to download curl-7.20.0-win64-ssl-sspi.zip and Win64OpenSSL_Light-1_0_2d.exe.

Download address:  http://curl.haxx.se/download.html
Please choose the version without SSL, otherwise you need to install the SSL support package
 
2. You can add the environment variable of the curl command to Windows, increase the CURL_HOME environment variable, and add %CURL_HOME% to the PATH environment variable;  
This will allow you to use the curl command from any directory in the command window.
 
3. post request:
curl -d   "leaderboard_id=7778a8143f111272&score=19&app_key=8d49f16fe034b98b&_test_user=test01" "http://172.16.102.208:8089/wiapi/score"
  

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326309875&siteId=291194637