I am using Retrofit which uses GSON for parsing.The server will check the parameter i am sending and returns two responses Accordingly. If the parameter is valid i am getting the following response
[
  true
]
If it is not valid then i get response as,
   [
      "Sorry, <em class=\"placeholder\">names@gmail.inp</em> is not recognized as a user name or an e-mail address."
    ]
This is the call method i am using.
@Override
public void onResponse(Call<String> call, Response<String> response) {
mProgressBar.setVisibility(View.GONE);
    Log.d("Response ", ""+response);
}
here response.body giving me as null. But there is a response.which is viewable in OKHttp Log.
 
     
     
     
     
    