Getting 400 Bad Request when calling ap-health API


I’m trying to call the ap-health API to get the CPU consumption of my Access Points, but I’m facing the following error code when calling the API:

“400 Bad Request”.

Could you please help me to find where is the issue ?

Pls can you join the request and its version in this request? Thank you in advance


Can you please paste here your request?

"400 Bad Request" I've usually got it when accessing API resources without the right privileges. Did you log into OmniVista? Did you take care of the session cookies?

This github Node.js script is used to create "Employee Acounts" in the UPAM database, but may help you to understand the Login + Action + Logout methods, and to keep the session cookies in the "cookie jar" of your favorite request function.