From d127461669e0976cd11068b0e132840ca57b70a7 Mon Sep 17 00:00:00 2001 From: xz_ocs Date: Tue, 12 Aug 2025 12:08:55 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'shuaifeng'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shuaifeng | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shuaifeng b/shuaifeng index 193e92d..63ccfc6 100644 --- a/shuaifeng +++ b/shuaifeng @@ -1,4 +1,9 @@ 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 + + +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