18.188.104.211
Multiple command line HTTP clients are supported, including curl, httpie, GNU Wget and fetch.
No
$ curl https://ip.protenus.com 18.188.104.211 $ http -b ip.protenus.com 18.188.104.211 $ wget -qO- ip.protenus.com 18.188.104.211 $ fetch -qo- https://ip.protenus.com 18.188.104.211 $ bat -print=b ip.protenus.com/ip 18.188.104.211
$ http ip.protenus.com/json { "ip": "18.188.104.211", "ip_decimal": 314337491 }
Setting the Accept: application/json
header also works as expected.
Always returns the IP address including a trailing newline, regardless of user agent.
$ http ip.protenus.com/ip 18.188.104.211