S
S
Sergey2015-10-31 08:35:01
Java
Sergey, 2015-10-31 08:35:01

Obsolete HTTPClient, and what replacement has come to him now?

I'm using AndroidStudio and want to send a POST request with multiple parameters. Everywhere in Google queries, the code is almost the same. Everywhere HTTPClinet and other stuff from org.apache are used.*
But AndroidStudio assures me that HTTPClient, HTTPParams and so on. these are obsolete classes and crosses out everything in this series.
Tell me, how should I now correctly carry out the POST request procedure with parameters in AsyncTask?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rustem Saitkulov, 2015-10-31
@goodwin74

Use Retrofit with OkHttp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question