The Curl command can execute an HTTP request by using the command line method. There are scenarios used in Elasticsearch, so here's a look at how to perform the Curl command under Windows.
Tools download
Download the toolkit on the official site: http://curl.haxx.se/download.html
Usage One: Use in the Curl.exe directory
Unzip the downloaded compressed file, through the cmd command into the directory where the Curl.exe.
Because bloggers are using a Windows 64-bit system, you can use the Curl.exe tool under I386.
After entering the directory, perform a curl--help test:
Use mode two: placed in the System32
Unzip the downloaded file, copy the i386/curl.exe file to C:\Windows\System32
You can then use the Curl command from anywhere in the DOS window.
How to use three: Configure environment variables
In the system advanced environment variable, configure
curl_home ----- "Your CURL directory location \curl-7.43.0"
Add ";%curl_home%\i386" to the end of path ----
This has the same effect as the two above.
Using the Curl command under Windows (64-bit)