I have AsyncTask and the doInBackground method inside which, I sending POST request using Retrofit. My code looks like:
//method of AsyncTask protected B
The Call class has an execute() method that will make your call synchronously.
Call
enqueue() is explicitly for making an asychronous call.
enqueue()