Meticha
Meticha @MetichaHQ ·
Replying to @MetichaHQ
6/7 ⚙️ Make API Calls Easier: Use Retrofit and OkHttp to make API calls simpler and handle errors properly. This keeps your app from crashing and makes it more stable. #Retrofit #OkHttp
1
19
codefromthecrypt
codefromthecrypt @adrianfcole ·
#java http mock tools have gotten better in the last 15 years, but the reigning, possibly forever, king is still #okhttp's MockWebServer. Zero fuss, multiple un-conflicting servers, tls, failures, whatever. Logging is done right, at the right level. Basically this is free of the complexity battle of a lot of alternatives. Only thing you worry about conflicts with is okhttp itself, and that's rarely an issue, except possibly when using it as an intermediate library github.com/square/okhttp/…
144