whats my ip api code example
Example 1: check ip json
$ curl 'https://api.ipify.org?format=json'
{"ip":"51.159.59.56"}
Example 2: my ip
Always make sure not to give your public IP address to anyone who you DON'T trust
$ curl 'https://api.ipify.org?format=json'
{"ip":"51.159.59.56"}
Always make sure not to give your public IP address to anyone who you DON'T trust