get and post are two basic methods of http request
The most intuitive difference is that get includes parameters in the url and
post passes the parameters through the request body.
-
get is harmless when the browser rolls back, and post will submit the request again
-
get requests can only be url encoded, while post supports multiple encoding methods
-
The parameters sent in the url of the get request are limited in length, while the post does not
-
get is less secure than post, because the parameters are directly exposed on the url, so it cannot be used to transmit sensitive information (in fact, if you know the packet capture, both methods are not safe)
At the end, I recommend a very good learning tutorial to everyone, I hope it will help you learn Python!
Python crawler case tutorial recommendation