dingding post POST请求

POST请求请在HTTP Header中设置 Content-Type:application/json,否则接口调用失败

 

获取AccessToken Https请求方式: GET https://oapi.dingtalk.com/gettoken?corpid=id&corpsecret=secrect

获取微应用后台管理Token Https请求方式: GET https://oapi.dingtalk.com/sso/gettoken?corpid=id&corpsecret=ssosecret

 

requestAuthCode获取到code

access_token 是通过corpid和corpsecret获取的,

在通过dd.runtime.permission.requestAuthCode获取到code后,去调用user/getuserinfo获取用户信息
      

posted @ 2016-09-23 11:31  大树2  阅读(942)  评论(0编辑  收藏  举报