Event address: CSDN 21-day learning challenge
The biggest reason for learning is to get rid of mediocrity. One day earlier, there will be more splendor in life; Dear friends, if you:
want to systematically/deeply learn a certain technical knowledge point...
it is difficult to persist in learning alone, and want to learn efficiently in a group...
want to write a blog but can't start, and urgently need to inject energy into writing dry goods...
love writing, willing to let yourself become better people
...
Welcome to participate in the CSDN Learning Challenge and become a better self. Please refer to the free high-quality column resources of the high-quality column bloggers in the event (this part of the high-quality resources is free and open for a limited time in the event~), according to your own learning field and learning progress Learn and document your own learning process. You can choose one of the following three aspects to start (not mandatory), or publish column learning works according to your own understanding, as follows:
**
study diary
**
1. Learning knowledge points
request block
.get, .post, .url, response method
2. Problems encountered in learning
API not touched
3. Learning gains
The API usage of the request block
4. Practical operation
request class
Attributes
get(url): Get the content of the address object (commonly used)
post (url): basically the same as above (?)
response method
url: Get the actual response address
status_code: status code
headers: response header
cookies: response cookie, return cookiejar type
json: convert json content to python object
text: return string string content
content: return byte type data
…