OkHttp is an efficient and easy-to-use HTTP client. It supports both synchronous and asynchronous network calls. Using OkHttp on Android is easy. Simply add its dependency to a project's module-level build.gradle file:
implementation 'com.squareup.okhttp3:okhttp:3.9.0'