We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前调用 API 时,若未鉴权会返回整个鉴权 html 页面。
希望可以返回 json,例如:
{ "code": -1, "msg": "Authorization Failed.", "data": null
The text was updated successfully, but these errors were encountered:
下个版本改进,鉴权不通过的话 HTTP 状态码 401,body:
401
{ "code": -1, "msg": "Auth failed" }
Sorry, something went wrong.
88250
No branches or pull requests
描述问题 Describe the problem
目前调用 API 时,若未鉴权会返回整个鉴权 html 页面。
期待的结果 Expected result
希望可以返回 json,例如:
截图
版本环境 Version environment
The text was updated successfully, but these errors were encountered: