API calls returning 404

Hey guys, am I missing something here?

curl --request GET \
--url http://url.com/admin/users/list/active.json \
--header 'accept: application/json' \
--header 'api-key: key' \
--header 'api-username: user'

This returns a 404 no matter what I do. I checked the docs, but it seems not to be an answer for this.

Thanks!

It likely is that your API key is invalid.

1 Like

I double checked it, I think it’s not that.

Maybe it’s CORS? I’m running the script on my local machine and the forum is online

Forgot to @ you, @pfaffman, sorry!