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