Developing our own type-safe HTTP library to interface with a REST API can be a real pain as we have to handle many aspects - making connections caching retrying failed requests threading response parsing error handling, and more. Retrofit, on the other hand, is a well-planned, documented and tested library…