Skip to content

Instantly share code, notes, and snippets.

View wscld's full-sized avatar

Wesley wscld

View GitHub Profile
@preethamhegdes
preethamhegdes / OkHttpUtil.java
Last active October 19, 2024 03:24
OkHttp Client Ignore certificate
import okhttp3.*;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.net.ssl.*;
import java.net.*;
import java.security.cert.CertificateException;
/*
okhttp version used 3.8.1