216.73.216.108
Multiple command line HTTP clients are supported, including curl, httpie, GNU Wget and fetch.
No
$ curl https://ip.protenus.com 216.73.216.108 $ http -b ip.protenus.com 216.73.216.108 $ wget -qO- ip.protenus.com 216.73.216.108 $ fetch -qo- https://ip.protenus.com 216.73.216.108 $ bat -print=b ip.protenus.com/ip 216.73.216.108
$ http ip.protenus.com/json
{
"ip": "216.73.216.108",
"ip_decimal": 3628718188
}
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 216.73.216.108