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.

const http = require("http");

const req = http.request({
  port: 12344,
  host: "proxy.tomatoip.io",  method: "CONNECT",
  auth: "proxyUser:password",
  path: "api.ip.sb",
});

req.on("connect", (res, socket, head) => {
  socket.write(
    `GET /geoip HTTP/1.1\r\n
    Host: api.ip.sb\r\n
    Connection: close\r\n
    \r\n`
  );
  socket.on("end", () => {
    proxy.close();
  });
});

req.end();