"pm.environment.set(\"tenant_token\", jsonData.access_token);", "" ], "type": "text/javascript" } } ], "request": { "auth": { "type": "basic", "basic": [ { "key": "密码", "value": "{{clientsecret}}", "type": "string" }, { "key": "用户名", "value": "{{clientid}}", "type": "string" } ] }, "method": "POST", "header": [ { "key": "Accept", "type": "text", "value": "application/json" }, { "key": "Content-Type", "name": "Content-Type", "value": "application/x-www-form-urlencoded", "type": "text" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": “grant_type”, “value”: “client_credentials”, “type”: “text” } ] }, “url”: { “raw”: “{{protocol}}{{subaccount}}。{{uaadomain}}/oauth/ token”, “host”: [ “{{protocol}}{{subaccount}}”, “{{uaadomain}}” ], “path”: [ “oauth”, “token” ] } }, “response”: [] }, { “name”: “获取设置”,