Add by zhj: 像下面这亲上传文件时,requests会使用键名“myfile”当文件名,亲测 data = {"k1": "v1"} files = { "myfile" : open("/tmp/test.jpg", "rb").read() } requests.post(url, d Read More
posted @ 2023-10-25 20:56 奋斗终生 Views(1054) Comments(0) Diggs(0) Edit