摘要:
在做接口自动化中,很多都会涉及到上传图片或视频 需要注意头文件可变(Content-Type)去掉可变的 需要加上file,我的如下: file = {"file": open(r'E:\test.mp4', 'rb'), "Content-Type": "application/octet-str 阅读全文
posted @ 2020-07-01 20:03
magic_yj
阅读(1266)
评论(0)
推荐(1)