News for hackers. Stuff that matters.
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
Re:Icanhazip: A simple IP address tool survived a deluge of ... by pepa65 on Tuesday August 01, 2023 @04:52AM (#36953870)
There, /ip is better.