Android Setting up OkHttp


Example

Grab via Maven:

<dependency>
  <groupId>com.squareup.okhttp3</groupId>
  <artifactId>okhttp</artifactId>
  <version>3.6.0</version>
</dependency>

or Gradle:

compile 'com.squareup.okhttp3:okhttp:3.6.0'