title: How to get raw response and request using Retrofit 2.0
body: <p>I am trying to get the raw response using Retrofit2.0.2. </p>
  
  <p>So far I tried to print the response using following line of code but it prints the address and not the exact response body.</p>
  
  <p><strong>Log.i("RAW MESSAGE",response.body().toString());</strong></p>
  
  <p><code>compile 'com.squareup.retrofit2:retrofit:2.0.2'</code></p>
  
  <pre><code>    Retrofit retrofit = new Retrofit.Builder()
                      .baseUrl(BASE_URL)
                      .addConverterFactory(GsonConverterFactory.create())
                      .build();
  
  
              GitApi gitApi = retrofit.create(GitApi.class);
  
              Call&lt;Addresses&gt; call = gitApi.getFeed(user);
  
      call.enqueue(new Callback&lt;Addresses&gt;() {
  
                  @Override
                  public void onResponse(Response&lt;Addresses&gt; response, Retrofit retrofit) {
                      try {
                          mDisplayDetails.setText(response.body().getSuburbs().get(0).getText());
  
                      **Log.i("RAW MESSAGE",response.body().toString());**
  
                      } catch (Exception e) {
                          mDisplayDetails.setText(e.getMessage());
                      }
                      mProgressBar.setVisibility(View.INVISIBLE);
  
                  }
  
                  @Override
                  public void onFailure(Throwable t) {
                      mDisplayDetails.setText(t.getMessage());
                      mProgressBar.setVisibility(View.INVISIBLE);
  
                  }
              });
  </code></pre>