HTTP/HTTPS GET and POST requests in Python3 including file upload with builtin modules
The following script performs GET and POST requests to [httpbin.org] using only builtin python 3 modules. There is also a class to support file encoding for upload.