标签:open file files val post weight log pos sts
files = {‘file‘: open(‘test11.log‘, ‘rb‘)}
res = requests.post(
url,
data={
‘key1‘: value,
‘key2‘: value,
‘key3‘: value
},
files=files
)
标签:open file files val post weight log pos sts
原文地址:https://www.cnblogs.com/FengZiQ/p/10028411.html