Examples of REST APIs Using Various Authentication Types
Instructions:
Log in and save the session in a cookie file by running the following command:
curl -k -f -X POST -c cookies.txt -d
"httpd_username=<user>"
-d"httpd_password=<password>"
https://<ufm-ip>/dologin
Access as much as ufmRestV2 requests you desire, suing the session saved above (for example):
curl -k --cookie cookies.txt https:
//<ufm-ip>/ufmRestV2/reources/systems