Query role details
Request form
The Get & lt; Role_uri & gt;/query/& lt; RoleName & gt; HTTP/1.1
Host: https://
Accept: application/json; Version=& lt; Version>; Charset=utf-8
Content-Type: application/json; Charset=utf-8
X - Auth Token: & lt; Authen_TOKEN & gt;
The response form
HTTP/1.1 200 OKAY
Date: Mon, 12 Nov 2007 15:55:01 GMT
The Content - Length: XXX
Content-Type: application/json; Charset=utf-8
{
"Description" : "String",
"UserName" : "String; The String ",
"RoleName" : "String",
"RightType" : an integer,
"Popedom" :
{
"RightId" : "String",
"RightName" : String,
}
]
"CreateTime" : "1339074358",
"UserNum" : "String"
}
If just using the curl, so how to write? Teachers, please help me to look at it? thank you
CodePudding user response:
I have recently been doing similar things, do you have a restful API interface document? Can you give me a not?CodePudding user response: