Cloud Server

Host:proxy.tomatoip.io,Port:12344

Validation Method

HTTP Tunnel Authorization Mode:

Request Header

Authentication is done in the form of a username/password, which is eventually converted into a『Proxy-Authorization』protocol header to be sent with the request.
To facilitate access to some languages, the platform also supports tunneling through the 『Authorization』header.

package example;

import org.apache.http.HttpHost;
import org.apache.http.client.fluent.*;

public class Example {
    public static void main(String[] args) throws Exception {
        System.out.println("To enable your free eval account and get "
            +"CUSTOMER, YOURZONE and YOURPASS, please contact "
            +"sales@fanqie.io");
        HttpHost proxy = new HttpHost("proxy.tomatoip.io", 12344);
String res = Executor.newInstance() .auth(proxy, "proxyUser", "123456") .execute(Request.Get("https://api.ip.sb/geoip").viaProxy(proxy)) .returnContent().asString(); System.out.println(res); } }