cURL generator

Assemble a cURL command with proxy, authentication, headers, timeout and output flags without looking any of them up.

command
curl \
     -x http://res.wproxy.io:8000 \
     -U "wp-acc4821-country-us:s3cr3t-pass" \
     -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36" \
     -H "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" \
     -H "Accept-Language: en-US,en;q=0.9" \
     -H "Accept-Encoding: gzip, deflate, br" \
     --max-time 30 \
     -w "\n%{http_code} in %{time_total}s\n" \
     "https://ipinfo.io/json"

What each flag does

-x
Routes the request through the gateway; the hostname form resolves DNS at the exit.
-U
Proxy credentials. Targeting flags live in the username, not in a separate option.
--max-time
Total budget for the request. Lower is usually better — retry on a new exit rather than waiting.
-w
Writes the status code and total time after the body, which makes quick comparisons painless.
Notes

Test before you script

A single cURL command is the fastest way to isolate whether a failure is credentials, targeting or your client library.

Prefer socks5-hostname

It resolves DNS at the exit. The plain --socks5 flag resolves locally, which is slower and leaks your intent.

Read the timing output

The -w flag prints status and total time, which makes comparing two configurations a matter of running both.

Get started

Point it at a real network

Working credentials, global coverage and a free gigabyte to prove it does what you need.