How to get raw response and request using Retrofit 2.0
问题 I am trying to get the raw response using Retrofit2.0.2. So far I tried to print the response using following line of code but it prints the address and not the exact response body. Log.i("RAW MESSAGE",response.body().toString()); compile 'com.squareup.retrofit2:retrofit:2.0.2' Retrofit retrofit = new Retrofit.Builder() .baseUrl(BASE_URL) .addConverterFactory(GsonConverterFactory.create()) .build(); GitApi gitApi = retrofit.create(GitApi.class); Call<Addresses> call = gitApi.getFeed(user);