Retrofit Dynamic Http Methods
I'm planning to replace Apache HTTP client with retrofit in my project. The problem I'm facing is that retrofit didn't(I couldn't find) support setting HTTP method to request at ru
Solution 1:
Retrofit is not designed for dynamic url requests. You configure retrofit with your API base URL then make specific requests.
For a more flexible dynamic option use out OkHttp. It is the HTTP Client used by Retrofit and it easy to work with.
Post a Comment for "Retrofit Dynamic Http Methods"