Re:Icanhazip: A simple IP address tool survived a deluge of ...
by zokier on Monday July 31, 2023 @05:47PM
(#36949317)
ip4.me and ip6.me have /api endpoint for programmatic access
Re:Icanhazip: A simple IP address tool survived a deluge of ...
by SadTrombone on Monday July 31, 2023 @06:28PM
(#36949742)
The /api endpoint seems to return me a 301 error from the command line.
Re:Icanhazip: A simple IP address tool survived a deluge of ...
by ComputerGuru on Monday July 31, 2023 @06:35PM
(#36949796)
That’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.
Re:Icanhazip: A simple IP address tool survived a deluge of ...
by jffry on Monday July 31, 2023 @06:32PM
(#36949772)
curl https://ip4.me/api/
works for me
I made wgetip.com back in 2008 to solve this. icanhaz must've been pretty suboptimal back then to have issues with traffic. wgetip still gets about 3M requests per hour. All from a single $5 droplet.