Check Public IP via wget

If curl is not installed, wget can fetch the same IP endpoint. Output is raw JSON you can pipe to jq.

wget vs curl

wget is common on minimal Linux images. For HTTP method testing and headers, curl is more flexible — use RookCurl online when neither is installed.

RookCurl Home Check IP Example VPN Leak Test Setup Guide