Graphical command line HTTP tool Curl using preliminary

Source: Internet
Author: User

Curl is an open source file Transfer tool that works with URL syntax in the command line mode.

1 access to Web source

Install first;




2 Saving a retrieved page

Curl-o [file name] Www.sina.com


3 Auto Jump

Some of the pages are automatically jump, the following example; input with the-l parameter, automatically jump to www.sina.com.cn;




4 Displaying HTTP Headers

Display HTTP headers and web code;


As below,-I, only the HTTP headers are displayed;



5 Show Communication Process

The '-V ' parameter can display the entire process of an HTTP communication, including port connections and HTTP request header information.



6 Viewing a more detailed communication process

Use the--trace parameter to save the communication process to a text file;



Other can also send form, upload files, add header information, etc.;

Reference Links:

Http://www.ruanyifeng.com/blog/2011/09/curl.html


Graphical command line HTTP tool Curl using preliminary

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.