About 8,910,000 results
Open links in new tab
  1. How to log request and response body with Retrofit-Android?

    Add Logging to Retrofit 2 While developing your app and for debugging purposes it’s nice to have a log feature integrated to show request and response information.

  2. java - why use Retrofit when we have OkHttp - Stack Overflow

    Aug 27, 2016 · 49 Retrofit vs. OkHttp The reason is simple: OkHttp is a pure HTTP/SPDY client responsible for any low-level network operation, caching, request and response manipulation, …

  3. POST Multipart Form Data using Retrofit 2.0 including image

    Jan 2, 2016 · 25 I used Retrofit 2.0 for my register users, send multipart/form File image and text from register account In my RegisterActivity, use an AsyncTask

  4. Comparison of Android networking libraries: OkHTTP, Retrofit, and ...

    Update: There are plenty of very good changes in Retrofit 2.0.0-beta2 version 1.6 of Retrofit with OkHttp 2.0 is now dependent on Okio to support java.io and java.nio which makes it much …

  5. Newest 'retrofit' Questions - Stack Overflow

    Oct 16, 2025 · I am using Retrofit, OkHttp, Kotlin coroutines to make HTTP requests. When the server returns an unsuccessful result (e.g., 404), I throw a custom exception, which is a …

  6. Retrofit 2: Get JSON from Response body - Stack Overflow

    Dec 5, 2016 · I want to get string json from my api using retrofit 2, I have no problem when using retrofit 1 to get this json but using retrofit 2 returns null for me. This is what my json looks like …

  7. java - Logging with Retrofit 2 - Stack Overflow

    Sep 11, 2015 · That's all of the Logging trick ;) And I would like to share you with the tutorial I learned a lot there. They have a bunch of great post talking about almost everything related to …

  8. android - Retrofit 2 - Dynamic URL - Stack Overflow

    Sep 14, 2015 · With Retrofit 2, you can set a full URL in the annotation of a service method like :

  9. Coroutines and Retrofit, best way to handle Errors

    Sep 25, 2019 · Coroutines and Retrofit, best way to handle Errors Asked 6 years, 3 months ago Modified 3 years, 10 months ago Viewed 22k times

  10. android - Call or Response in Retrofit? - Stack Overflow

    Sep 29, 2020 · 31 I want to know the difference between Call And Response ? That when to use Call & when to use to Response in Retrofit ?