I'm trying - for the first time - to make some API calls to get specific statistics ...
I think I might have a authentication issue. Can somebody tell me how I can get the response (in php).
Warning: file_get_contents(https://192.168.8.189/PrismGateway/services/rest/v1/cluster/): failed to open stream: Operation timed out in /Users/flhoest/MyProjects/NutanixReporter/nxGetInfo.php on line 5
I'm getting this ....
I know I have to pass login / password to the get function but how can I do this ?
Thanks a lot
Best answer by sandeepmp
Refer below scripts.