Show HN: ipv4.cat – your public IP address from any OS terminal
about.ipv4.cat
about.ipv4.cat
$ curl ipv4.cat
curl: (1) Received HTTP/0.9 when not allowed
$ curl --http0.9 ipv4.cat
(returns my IP)
https://github.com/curl/curl/commit/a42b0957ab31c971a79bfe55...Anyway... not quite the same as this, but we have one that also supports responding with a non-200 status if a field doesn't match e.g. `curl --fail https://whoami.oya.to/tor-exit=true,ip=192.168.1.2`.