Answer the question
In order to leave comments, you need to log in
httppost is deprecated. What do we use instead?
Since version 22, all your favorite classes have been deprecated.
HttpPost
HttpPut
HttpResponse
and others from org.apache.http.client.* and org.apache.http.client.methods.*.
It's strange, but HttpPatch passed.
What to use instead of one library to support all methods?
Answer the question
In order to leave comments, you need to log in
OkHTTP, if you want to have a human API
Well, or developer.android.com/reference/java/net/HttpURLCo... as the recommended standard lib, which is actually said in the description of why depricate.
The default method is kind of clumsy. I am using Android Asynchronous Http Client
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question