微信公众平台做接口测试

公众平台地址:http://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index

通过公众平台获取appID,appsecret

再次获取用户access_token   

地址https请求方式: GET https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=APPID&secret=APPSECRET

获取到access_token 后可以执行其他的请求操作

 

 

具体返回的状态吗参考公众平台全局返回说明  https://developers.weixin.qq.com/doc/offiaccount/Getting_Started/Global_Return_Code.html

posted on 2020-09-02 16:07  心品茗香  阅读(2492)  评论(0编辑  收藏  举报

导航