I need to send HTTP POST message in Android. I have seen many way to do it. But the accepted answers are using deprecated classes, or approachas are far from the most efficient solutions. Apple moved from NSURLConnection
to NSURLSession
. Is it any similar framework in Android too?
I read here that i.e. HttpUrlConnection
and HttpClient
are not recommended to use, but I do not want to use 3rd party library.