Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get ip address js

function getIPFromAmazon() {
	fetch("https://checkip.amazonaws.com/").then(res => res.text()).then(data => console.log(data))
}

getIPFromAmazon();
 
PREVIOUS NEXT
Tagged: #ip #address #js
ADD COMMENT
Topic
Name
3+9 =