6 ms·
ip4.me and ip6.me have /api endpoint for programmatic access
by zokier 3y ago
ip4.me and ip6.me have /api endpoint for programmatic access
- SadTrombone 3y agoThe /api endpoint seems to return me a 301 error from the command line.
- jffry 3y agocurl https://ip4.me/api/ works for me
- ComputerGuru 3y agoThat’s a redirect, not an error. Probably to /api/ with a trailing slash. Or use the -l flag to curl to have it auto redirect.
- pepa65 3y agoThere, /ip is better.