retrofit

Retrofit. POST. Android. Kotlin

There is a POST request to the server using the Retrofit library. If the request is successful, a certain object with data is ... d()) .subscribe({ view.onSuccessful() }, { view.onFailure(it.message!!) }) }

What does the @FormUrlEncoded annotation mean in the Retrofit 2.0 library?

There is a code for sending a Post request with the phone and lang fields in the request body. Without FormUrlEncoded, this c ... tring id, @Field("phone") String phone, @Field("lang") String lang); }

Post request using retrofit

You need to create a POST request with sending a username,password and receiving a token, I was recommended to retrofit, sinc ... } else { // error response, no access to resource? } } Yes errors starting with call. enqueue

New Mail(Android API)

Unable to access API new mail. I use Retrofit to work with the network. This is how I form the interface: @FormUrlEncoded ... the waiting time to 60 seconds, but it didn't help. And there is not so much data to pull them for more than a minute UPD:

How do I send a POST request via Retrofit 2.0?

Perhaps now a stupid question will be asked, because I am new to Java programming and to Android development in general, so I ... e in any way, I would be very grateful. I'm not asking you to write code for me, I'm asking you to help me figure it all out.

Working with the retrofit android library to create authorization in the app

This is the first time I've asked a question related to the retofit android library that I use to create an authorization scr ... d it to the necessary server request and if someone knows how to explain this question to me, I will be very grateful to him.

Return Vector inside array JSON Retrofit

How do I bring the information of a vector inside another vector in json format for retrofit: I have my return: [ [ ... g.NullPointerException: Attempt to invoke virtual method ' int java.useful.ArrayList.size () ' on a null object reference

What is Retrofit?

I'm using retrofit in an application to consume a Java Web Service and I'm in doubt: Is Retrofit a library or an API?

Retrofit = manipulating the response

Well, I'm asking more that help from friends poi really, I'm not getting understand the dynamics. Following tutorials and ex ... :: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $ Can anyone help me?

Failed to use retrofit library in Android Studio

Following the tutorial below, Http://www.vogella.com/tutorials/Retrofit/article.html Which deals with the use of the ret ... ch is done and nothing is returned. Because it searches for a parameter in url that does not exist.  Where am I going wrong?