C
CIFP

curl & HTTP Clients

Use any HTTP tool with a CIFP proxy.

curl has first-class proxy support. CIFP works out of the box.

Basic Usage

bash
curl \
  -x https://proxy-abc123.proxy.cifp.vril.dev:3128 \
  -U "proxy-abc123-u1a2b3:your-proxy-password" \
  -H "Authorization: Bearer {\$OPENAI_API_KEY}" \
  https://api.openai.com/v1/models

Using Environment Variables

Set HTTPS_PROXY and no_proxy so all curl calls (and most HTTP tools) automatically use CIFP:

bash
export HTTPS_PROXY="https://proxy-abc123-u1a2b3:password@proxy-abc123.proxy.cifp.vril.dev:3128"
export NO_PROXY="localhost,127.0.0.1"

# Now any curl call is proxied automatically
curl -H "Authorization: Bearer {\$GITHUB_PAT}" https://api.github.com/user

POST with a Body

bash
curl -X POST \
  -x https://proxy-abc123.proxy.cifp.vril.dev:3128 \
  -U "proxy-abc123-u1a2b3:your-proxy-password" \
  -H "Authorization: Bearer {\$STRIPE_SECRET_KEY}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "amount=2000&currency=usd&source=tok_visa" \
  https://api.stripe.com/v1/charges

HTTPie

bash
http --proxy=https:https://user:pass@proxy-abc123.proxy.cifp.vril.dev:3128 \
  https://api.openai.com/v1/models \
  "Authorization: Bearer {\$OPENAI_API_KEY}"

wget

bash
https_proxy="https://user:pass@proxy-abc123.proxy.cifp.vril.dev:3128" \
  wget -q -O - \
  --header "Authorization: Bearer {\$GITHUB_PAT}" \
  https://api.github.com/user

Insomnia / Postman

In Insomnia: Application → Preferences → HTTP → Proxy. Set host to proxy-abc123.proxy.cifp.vril.dev, port 3128, and toggle Require Authentication with your credential.

In Postman: Settings → Proxy → Custom Proxy Configuration. Use the same host, port, and credentials.