↧
Answer by Salem for How to get a raw Retrofit response string?
Try to use body().string() instead of body().toString()
View ArticleAnswer by maciekjanusz for How to get a raw Retrofit response string?
Use Call<JSONObject>. That way you don't even need to include any of retrofit converters in your project.
View ArticleHow to get a raw Retrofit response string?
I am working on Retrofit, but I am stuck on one thing: how do I get the raw JSON on the response body. public interface ViewMenuItems { @GET Call<ResponseBody> listRepos(@Url String url); }...
View Article