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