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