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.
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