How can I parse response body when HTTP error code is 401? #3771
Answered
by
CypherpunkSamurai
CypherpunkSamurai
asked this question in
Q&A
-
I have a http api that returns error 401 along with the response body. I want to read the body and toast it to the user. When using retrofit to access |
Beta Was this translation helpful? Give feedback.
Answered by
CypherpunkSamurai
Sep 11, 2022
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
CypherpunkSamurai
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I have found the solution.