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