Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
SadTrombone
· 3y ago · 0 comments
The /api endpoint seems to return me a 301 error from the command line.
Comments
[–]
ComputerGuru
3y 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.
[–]
jffry
3y ago
curl https://ip4.me/api/
works for me