CLI usage

Use these commands from your terminal:

$ curl -s https://whatsmyip.haasje.net
$ curl -H "Accept: text/plain" -s https://whatsmyip.haasje.net
$ curl -s https://whatsmyip.haasje.net/json
$ curl -s https://whatsmyip.haasje.net/ipv6
$ curl -H "Accept: application/json" -s https://whatsmyip.haasje.net/ipv6
$ curl -s https://whatsmyip.haasje.net/json | jq
$ http https://whatsmyip.haasje.net/json
$ wget -qO- https://whatsmyip.haasje.net

Home ยท Plain text