I want to send ZIP file with request.post.
My code:
f = open("file.zip", 'rb')
files = {
"message": f
}
result = requests.post(url, files=files)
I'm trying with this code but it does not work
I want to send ZIP file with request.post.
My code:
f = open("file.zip", 'rb')
files = {
"message": f
}
result = requests.post(url, files=files)
I'm trying with this code but it does not work