HTTPD's Curl command

Source: Internet
Author: User
Tags http post

Curl is a file transfer tool that works in command-line mode based on URL syntax, supports protocols such as Ftp,fps,http,https,gopher,telnet,dict,file and LDAP, Curl supports HTTPS authentication, and supports HTTP post , put and other methods, FTP upload, Kerberos authentication, HTTP upload, proxy server, cookies, username/password Authentication, download file breakpoint continuation, upload file breakpoint continuation, HTTP proxy server pipeline (proxy tunneling), Even it supports IPV6,SOCKS5 proxy server, uploading files to FTP server through HTTP proxy server and so on, the function is very powerful.


Syntax: Curl [OPTIONS] [URL ...]

Common options:

-a/--user-agent (String) to set the user agent to send to the server

Example: Curl-a ' IE11 ' http://172.16.20.242

--basic using HTTP Basic authentication

--tcp-nodelay using the Tcp_nodelay option

-e/--referer <URL> Source Address

Example: Curl-e "Http://www.google.com.hk/search" http://172.16.20.242/index.html

That is, where the URL jumps to

--cacert <file> CA Certificate (SSL)

Indicates which CA certificate is used to verify that the certificate sent by the server is trusted

--compressed

Required to return a compressed format

-h/--header <line>

Custom casting information is passed to the server, given a specific header information

-i/head

Only the header information of the response message is displayed

Cases:

--limit-rate <RATE>

Set transfer speed

-u/--user <user[:p assword]>

Set the server's user name and password

-0/--http1.0

Using HTTP 1.0




Write the more scribbled, if there are missing errors and controversies, welcome everyone's criticism and discussion, thank you.

HTTPD's Curl command

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.