This is our data: request method POST
http://114.116.228.205:42500
{
"Order", "login",
"Token" : "absdjkasjdkjakskdjwewe,"
"Grant_type", "android",
"LoginId: yyf,"
"LoginType" : "mobile_01,"
"PWD" : "1"
}
After the success of the below is our request to return data:
{" msgcode ":" 0 ", "MSG" : "success", "token" : "absdjkasjdkjakskdjwewe", "data" : {" deptId ":" 0000000016 ", "access_token" : "366 b7496b07141f9980d92d5e60934c1", "tags" : [adea21eb92f4f9cb4f4d8b3e09b4016 "0", "543 aca46ca9d4fa6b03b8f37459c186a"], "alias" : "yyf," "expires_in" : "3600"}}
Could you tell me how to call this interface, we how to write
CodePudding user response:
Can walk agent callback interface or with ajax set good request header is mainly according to the document
CodePudding user response: