$ curl ifconfig.codeb2cc.com 216.73.216.166 $ wget -qO- ifconfig.codeb2cc.com 216.73.216.166
$ curl ifconfig.codeb2cc.com/json { "ip": "216.73.216.166", "continent": "NA", "country": "US", "city": "Columbus", "latitude": "39.96118", "longitude": "-82.99879" }
Setting the Accept: application/json
header also works as expected.