cURL

cURL

A command-line tool for making HTTP requests with proxy support, available on all platforms.

cURL

cURL is the universal command-line tool for making HTTP requests. It's pre-installed on most operating systems and supports proxy configuration for routing traffic through HypeProxy.io.

Setting Up HypeProxy.io with cURL

HTTP Proxy

curl -x http://username:password@fr.hypeproxy.host:port https://api.ipify.org

SOCKS5 Proxy

curl --socks5 fr.hypeproxy.host:port --proxy-user username:password https://api.ipify.org

Using Environment Variables

export http_proxy="http://username:password@fr.hypeproxy.host:port"
export https_proxy="http://username:password@fr.hypeproxy.host:port"

# All curl requests now use the proxy
curl https://api.ipify.org

Verbose Mode (Debug)

curl -v -x http://username:password@fr.hypeproxy.host:port https://api.ipify.org

Tips

  • Use -v (verbose) flag to debug proxy connection issues.
  • Set environment variables (http_proxy, https_proxy) to apply the proxy globally.
  • Use -o /dev/null -s -w "%{http_code}" to check response status codes quickly.
  • cURL supports both HTTP and SOCKS5 proxies from HypeProxy.io.

Was this article helpful?