it-tools
it-tools copied to clipboard
feat(new tool): IP Geolocation
IP Geolocation information using ip-api.com FIx #454
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
it-tools | ✅ Ready (Inspect) | Visit Preview | Jul 21, 2024 7:28pm |
This doesn't work for this project if the web page is SSL protected. Looking at the Preview deployment, we can see the following error in DevTools console:
ip-geo-location-d1002698.js:1 Mixed Content: The page at 'https://it-tools-eqtftq3yi-corentin-thomasset-s-team.vercel.app/ip-geo-location' was loaded over HTTPS, but requested an insecure resource 'http://ip-api.com/json/1.1.1.1'. This request has been blocked; the content must be served over HTTPS.
It looks like ipinfo.io, or rdap.arin.net/registry might be viable endpoints capable of supporting HTTP and HTTPS without cost or sign up required - their endpoints are keyless.
curl "https://ipinfo.io/8.8.8.8/json"
or
curl -H "Accept: application/json" "https://rdap.arin.net/registry/ip/8.8.8.8"
Hi @JDProfresh, yes, right and fixed in https://it-tools-6drrkwnw1-corentin-thomasset-s-team.vercel.app/ip-geo-location