获取AccessToKen

提交方式:GET

访问地址:http://microsoft-zh.cn/cgi/get.asmx/GetAccessToKen

请求示例:

{
    "app_id": 1, 
    "expires_in": 7200, 
    "access_token": "D8F01F1450302C279E1E6672054E9D4AA6BEDDCFCC699F8B", 
    "create_time": "2018-12-30T20:23:30.8503636+08:00"
}

返回结果:

{
    "status": "y", 
    "code": "yes", 
    "info": "获取AccessToKen成功", 
    "data": {
        "app_id": 1, 
        "expires_in": 7200, 
        "access_token": "D8F01F1450302C279E1E6672054E9D4AA6BEDDCFCC699F8B", 
        "create_time": "2018-12-30T20:23:30.8503636+08:00"
    }, 
    "record": 0, 
    "redirect": "", 
    "timer": 0, 
    "callback": "", 
    "datetime": "2018-12-30 20:23:31", 
    "timestamp": "1546172611"
}

提交参数:

列名 描述 长度 数据类型 必填 默认值
app_id 应用ID 4 int ×
app_secret 应用Secret 450 nvarchar ×