it-tools icon indicating copy to clipboard operation
it-tools copied to clipboard

feat(new tool): IP Geolocation

Open sharevb opened this issue 1 year ago • 4 comments

IP Geolocation information using ip-api.com FIx #454

sharevb avatar Feb 03 '24 13:02 sharevb

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

vercel[bot] avatar Feb 03 '24 13:02 vercel[bot]

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"

JDProfresh avatar Jul 18 '24 05:07 JDProfresh

Hi @JDProfresh, yes, right and fixed in https://it-tools-6drrkwnw1-corentin-thomasset-s-team.vercel.app/ip-geo-location

sharevb avatar Jul 21 '24 09:07 sharevb