Y
Hacker News
new
|
ask
|
show
|
jobs
by
SadTrombone
1058 days ago
The /api endpoint seems to return me a 301 error from the command line.
2 comments
ComputerGuru
1058 days ago
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.
link
jffry
1058 days ago
curl https://ip4.me/api/
works for me
link