userInfo_api.yml
852 字节
name: 用户信息:
base_url: ${ENV(base_url)}
variables:
currtime: ${make_time()}
uuid: ${make_uuid()}
var_access_token: ${get_accesstoken()}
sign: ${make_sign($currtime, $uuid, $var_access_token)}
teardown_hooks:
- ${teardown_hook_get_cuid($response)}
- ${teardown_hook_get_credentials($response)}
- ${teardown_hook_get_muid($response)}
- ${teardown_hook_get_cid($response)}
request:
headers:
Content-Type: application/json;charset=utf-8
User-Agent: okhttp/3.12.3
X-MMM-AccessToken: $var_access_token
X-MMM-AppName: com.mmm.ability
X-MMM-AppProject: ability
X-MMM-DeviceType: '1'
X-MMM-Sign: $sign
X-MMM-Timestamp: $currtime
X-MMM-Uuid: $uuid
X-MMM-Version: 0.4.0
json:
id: 1
method: POST
url: /v1/user/userInfo