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

如何获取onFailure里面的Body数据 #145

Open
suifens opened this issue Nov 12, 2024 · 1 comment
Open

如何获取onFailure里面的Body数据 #145

suifens opened this issue Nov 12, 2024 · 1 comment

Comments

@suifens
Copy link

suifens commented Nov 12, 2024

网络请求状态是400失败了,但需要Body里面的code和message,应该如何获取??

@HopeZZZ
Copy link

HopeZZZ commented Nov 29, 2024

image 我是这样处理,不知道有没有更好的办法

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

2 participants