diff --git a/shuaifeng b/shuaifeng new file mode 100644 index 0000000..193e92d --- /dev/null +++ b/shuaifeng @@ -0,0 +1,4 @@ +curl -k -v -i --location 'https://192.168.31.1/redfish/v1/SessionService/Sessions' --header 'Content-Type: application/json' --data '{"UserName":"root", "Password":"0penBmc"}' +curl -k --location --request POST 'https://192.168.31.1/redfish/v1/EXPservice/Lock/' --header 'X-Auth-Token: ccgB1YMlOxovRJJHEwtB' +curl -X POST -k --location --header 'X-Auth-Token:ccgB1YMlOxovRJJHEwtB' https://192.168.31.1/redfish/v1/EXPservice/EXPReadReg --data '{"ExpanderId":1, "CmdId":1, "ReadLen":32}' +curl -k --location --request POST 'https://192.168.31.1/redfish/v1/EXPservice/UnLock/' --header 'X-Auth-Token: ccgB1YMlOxovRJJHEwtB' \ No newline at end of file