In the previous article we saw how to perform basic HTTP requests using the python3 standard library. When requests become more complex, or we just want to use less code, and we don't mind adding a dependency to our project, it's possible (and sometimes even recommended) to use the external
requests module. The library, which adopted the "HTTP for Humans" motto, will be the focus of this article.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-perform-http-requests-with-python-part-2-the-request-library