Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript ip

fetch('https://api.ipify.org?format=json')
    .then(results => results.json())    
    .then(data => console.log(data.ip));
Source by github.com #
 
PREVIOUS NEXT
Tagged: #javascript #ip
ADD COMMENT
Topic
Name
2+3 =