001 Python interface Get request

Source: Internet
Author: User

/* Time: 2018/08/22 function: Get request directory: One: Install the request 1 installation software
2 pip common Commands 3 Login official website two: GET request 1 no parameter 2 parameter-store URL 3 has parameter-store params 4 cookie 5 decode three: Login Zen Road 1 c6>*/

One: Install Pip
1 Installing the Software

1: Run the input "cmd" and enter the DOS window.

2: Enter "Pip", there is a description Python comes with tool pip no problem.

1: Enter "Pip Install requests" (install requests module).

2: Do not open fiddler or other proxy tools, otherwise the SSL error will be reported, HTTPS request does not have a certificate.

1: Installation progress to 100%.

1: Verify the installation, enter "Pip List" (View installation module).

2: The request module appears in red box, indicating the installation is successful.

2 PIP Common Commands

1:pip Install module name-installation module.

2:pip Uninstall module name-Unload module.

3:PIP List-View installed modules.


3 Login Website

1: Visit official website: http://cn.python-requests.org/zh_CN/latest/.

2: The best information: Official documents, books, blogs

Two: Get request
1 No reference
2 with reference-store URL
3 Ginseng-Store params
4 Cookies
5 decoding
Three: Login Zen Road
1

001 Python interface Get request

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.