-
Notifications
You must be signed in to change notification settings - Fork 373
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我用py上传文件上传不了,但是使用postman却可以正常上传文件 #106
Comments
抓包看看二者哪里不同。 |
py requests 传过去多了一个头信息,但是我其他的接口用这两种访问方式就没有这样的问题 |
用node js传呢 |
你打包一个上传文件的测试程序给我,我看看。 |
我用postman就可以正常上传图片,问题就是我最开始截图的那两个问题 |
void process(request& req, response& res) { |
import base64 with open("../data/img/test1.png", "rb") as f: headers = {"Content-Type": "form-data"} py 的测试程序 |
要不我加你qq,截图给你看也行 |
你加cinatra qq群吧 340713904 |
The text was updated successfully, but these errors were encountered: