-3

How I can get json request body?

   App.getApi().method(data).enqueue(new Callback<Obj>() {
        @Override 
        public void onResponse(Call<Obj> call, Response<Obj> response){
             // print here 
        }
        ...
   };
Sarck
  • 3
  • 3

1 Answers1

0

If you are trying to print request / response while using retrofit you can enable logging check this article for same.

Taranmeet Singh
  • 1,199
  • 1
  • 11
  • 14