请求参数错误
xiaoliuit opened this issue · comments
[请求的时候不是直接上传图片吗?请求参数是?]
返回结果是:
{
"FileName": {},
"code": 101,
"data": {},
"message": "请求参数错误",
"ocrIdentifyTime": {}
}
我已经解决,请求时,Headers不能有任何key-value
请求参数key是“file”,value你可以直接上传图片,postman会自行编码图片,详细情况可以阅读app.py中的代码
好的,谢谢您的回复!
…------------------ 原始邮件 ------------------
发件人: "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.