How can I expect from my server `Response` both St...
# squarelibraries
i
How can I expect from my server
Response
both String and JSON (for example if server Response is successful I can deserialize Response into my class fields and if it is unsuccessful I get plain String)
g
Http error body parsing is separate thing, you can get body from HttpException and parse it as you want