API Problem with WebUI; Setting Up Oxidized

I have a question related to the API in the WebUI. I’m attempting to get oxidized functioning and have encountered the following problem.

When I run "curl -H ‘X-Auth-Token: YOURAPITOKENHERE’ https://librenms.org/api/v0/oxidized" in CLI, I get the correct output. But when I navigate to "https://enteraddresshere/api/v0/oxidized" via Firefox, it outputs “{ “status”: “error”, “message”: “API Token is missing or invalid; please supply a valid token” }

Sorry about this, as it is likely trivial, but I cannot figure it out.

If you need more information, I will gladly send it.

Why are you trying to navigate to that in firefox?

You would need to send the http header which includes the api token with your request. Curl does this with the -H flag

If the curl command works then it won’t be a problem with the X-Auth-Token. can you post your oxidized config and error logs.

And this is what I meant by it will likely be trivial… I overlooked the detail that it isn’t necessary to open in a browser. I figured that if I saw it in CLI it would transfer to the browser without thinking about the HTTP header. Thank you, Chas! I’m still learning the ropes of this :persevere: