OkHttp Maven Dependency 1 - RameshMF/java-json-processing-tutorial GitHub Wiki

OkHTTP is an open source project designed to be an efficient HTTP client. It supports the SPDY protocol. SPDY is the basis for HTTP 2.0 and allows multiple HTTP requests to be multiplexed over one socket connection.

OkHttp Maven Dependency

Copy below OkHttp maven dependency and paste in your project pom.xml file:

<!-- https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp -->
<dependency>
    <groupId>com.squareup.okhttp3</groupId>
    <artifactId>okhttp</artifactId>
    <version>4.2.2</version>
</dependency>

OkHttp Gradle Dependency

Copy below OkHttp Gradle dependency and paste in your project build.gradle file:

// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.2.2'

Download JAR File

https://repo1.maven.org/maven2/com/squareup/okhttp3/okhttp/4.2.2/okhttp-4.2.2.jar

Check for Latest Release

https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp

Reference

⚠️ **GitHub.com Fallback** ⚠️