The use of Retrofit

To work with Retrofit, you will require the following three classes:

Each function of an interface speaks to one conceivable programming interface call. It must have an HTTP annotation (GET, POST, DELETE, and so on) to determine the request type and the relative URL.