How to access Versa Analytics REST APIs using CURL tool?
Versa Analytics supports only token based authentication and does not support basic authentication.
Follow these steps to access Versa Analytics:
$ curl -c cookies.txt -d "username=admin&password=versa123" http://hostname:8080/versa/login
Run this command to get all the SDWAN tenants.
$ curl -b cookies.txt http://hostname:8080/versa/analytics/v1.0.0/data/provider/features/SDWAN/tenants
$ curl -b cookies.txt http://hostname:8080/versa/logout