"One Linux command per day" Curl

Source: Internet
Author: User

Curl: Accessing HTTP requests

1. Get access URL without parameters

Curl https://www.baidu.com/

2. Post access URL with parameters

# Raw HTTP request 1http://192.168.129.152:8090/queryroadbookidbyrange.do?longitude=113.04817071797032& Latitude=35.176670000049185&cityname= Jiaozuo #  Linux access mode "longitude= 118.716157&latitude=31.987544&cityname= Nanjing " http://192.168.34.133:8090/queryRoadBookIdByRange.do
# Raw HTTP request " Path " " lat " " Lon ": 118.7367041372443 }]}#  Linux access Mode-" to add escape character \"path={\" Path\ ": [{\" lat\ ": 31.995947740248248, \" lon\ ": 118.7367041372443}]}" http://192.168.129.152:8090/ Routematch.do

"One Linux command per day" Curl

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.