$ curl -k -H"X-Auth-Token:$token"\-X POST https://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset\-d'{"ResetType": "On"}' Reboot Host 重启 $ curl -k -H"X-Auth-Token:$token"\-X POST https://${bmc}/redfish/v1/Systems/system/Actions/ComputerSystem.Reset\-d'...
curl -k -H"X-Auth-Token:F2Ehteot4Ew53Whset54h"-X GET https://{ip}/redfish/v1/Chassis/1 2、发送POST请求 POST命令 curl -k -H"Content-Type:application/json"-X POST https://{ip}/redfish/v1/SessionService/Sessions -d '{"User":"user", "PWD":"pwd"}'...
# curl -s -H "Content-Type: application/json" -X POST --data '{"Oem": { "Hpe": {"MinPasswordLength": "11"} }}' https://<iloHostname>/redfish/v1/accountservice/ -u <ilousername>:<ilopasswd> --insecure But i gotten this instead: {"error":{"code":"iLO....