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.

$proxy = 'http://proxy.tomatoip.io:12344';
$proxyauth = 'proxyUser:password'; $url = 'https://api.ip.sb/geoip'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$url); curl_setopt($ch, CURLOPT_PROXY, $proxy); curl_setopt($ch, CURLOPT_PROXYUSERPWD, $proxyauth); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 1); $curl_scraped_page = curl_exec($ch); curl_close($ch); echo $curl_scraped_page;