Skip to content

Instantly share code, notes, and snippets.

@jacktasia
jacktasia / ImgixPurgeExample.java
Created February 20, 2015 01:44
imgix Java purge example (1.8 w/o dependencies)
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import javax.net.ssl.HttpsURLConnection;
import java.net.URL;
import java.util.Base64;
import java.io.OutputStream;
public class ImgixPurgeExample {