guanshuicheng / invoice

Collaboration with wangxupeng(https://github.com/wangxupeng)
MIT License
1.81k stars 447 forks source link

请求参数错误 #17

Closed xiaoliuit closed 4 years ago

xiaoliuit commented 4 years ago

[请求的时候不是直接上传图片吗?请求参数是?]

返回结果是: { "FileName": {}, "code": 101, "data": {}, "message": "请求参数错误", "ocrIdentifyTime": {} }

xiaoliuit commented 4 years ago

我已经解决,请求时,Headers不能有任何key-value

guanshuicheng commented 4 years ago

请求参数key是“file”,value你可以直接上传图片,postman会自行编码图片,详细情况可以阅读app.py中的代码

iiTzFrankie commented 4 years ago

好的,谢谢您的回复!

------------------ 原始邮件 ------------------ 发件人: "John"<notifications@github.com>; 发送时间: 2020年6月18日(星期四) 上午9:31 收件人: "guanshuicheng/invoice"<invoice@noreply.github.com>; 抄送: "太原理工大学俞承言"<695807870@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [guanshuicheng/invoice] 请求参数错误 (#17)

请求参数key是“file”,value你可以直接上传图片,postman会自行编码图片,详细情况可以阅读app.py中的代码

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.