Using the Curl command under Windows (64-bit)

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.