Very simple tool for getting your IP.
The code is fully client side hit https://yourhost/ , your browser will query https://ipapi.co and you'll see the result in a user friendly way.
If you deploy this as an Azure Static Web App you'll get 2 more methods:
- https://yourhost/api/ip which return a simple IPv4 adress as text/plain
- https://yourhost/api/json which query https://ipapi.co on the server side and redirect its response as a JSon object.
- https://ipapi.co who gives me a free api key.
- Azure, Codepen and Github for the free hosting