Hi Team,
I am not able to access
curl -X 'GET' \ 'https://<webserver>/webconsole/api/v4/Servers?showOnlyInfrastructureMachines=1' \ -H 'accept: application/json'
Getting “Access Denied” while using it.
When try to access the same using browser , it asks to login and then it works. However, when we pass username and password in curl. I get “401- Unauthorized”.
Can you help with the correct syntax using curl?