You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
643 B

curl -k -v -i --location 'https://172.30.1.10:50081/redfish/v1/SessionService/Sessions' --header 'Content-Type: application/json' --data '{"UserName":"root", "Password":"0penBmc"}'
curl -k --location --request POST 'https://172.30.1.10:50081/redfish/v1/EXPservice/Lock/' --header 'X-Auth-Token: ccgB1YMlOxovRJJHEwtB'
curl -X POST -k --location --header 'X-Auth-Token:ccgB1YMlOxovRJJHEwtB' https://172.30.1.10:50081/redfish/v1/EXPservice/EXPReadReg --data '{"ExpanderId":1, "CmdId":1, "ReadLen":32}'
curl -k --location --request POST 'https://172.30.1.10:50081/redfish/v1/EXPservice/Unlock/' --header 'X-Auth-Token: ccgB1YMlOxovRJJHEwtB'