Created
October 18, 2024 11:04
-
-
Save lando2319/7cbbd2748a8d0cc6d7caa9c5f8a6cc1f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// put in an async env, try catch | |
const transResponse = await fetch('https://api.ipify.org', {}); | |
var transferBody = await transResponse.text(); | |
console.log("IP from ipify", transferBody); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment