下面的语句如何在python 的 requests库里面实现
filename=/tmp/testfile
curl --cacert test.cert -X POST -F "hash=$hash_v" -F "filename=@$filename" "https://0.0.0.0:12345/upload/"
意思是通过POST方法, body有两个参数, 一个是hash, 一个文件
filename=/tmp/testfile
curl --cacert test.cert -X POST -F "hash=$hash_v" -F "filename=@$filename" "https://0.0.0.0:12345/upload/"
意思是通过POST方法, body有两个参数, 一个是hash, 一个文件
