Skip to content
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

请求参数错误 #17

Closed
xiaoliuit opened this issue May 10, 2020 · 3 comments
Closed

请求参数错误 #17

xiaoliuit opened this issue May 10, 2020 · 3 comments

Comments

@xiaoliuit
Copy link

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

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

@xiaoliuit
Copy link
Author

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

@guanshuicheng
Copy link
Owner

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

@iiTzFrankie
Copy link

iiTzFrankie commented Jun 18, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants