check ip json
snippet in javascript

check ip json

user4848

$ curl 'https://api.ipify.org?format=json'
{"ip":"51.159.59.56"}