SyntaxFix
Write A Post
Hire A Developer
Questions
import requests # assume sending two files url = "put ur url here" f1 = open("file 1 path", 'rb') f2 = open("file 2 path", 'rb') response = requests.post(url,files={"file1 name": f1, "file2 name":f2}) print(response)