方法:POST
* access_token : 调用接口凭证校验通过
* type :
图片(image)
* buffer : 大小限制1MB,推荐像素为300*300,支持JPG格式校验通过
基础支持: 上传logo接口 /media/uploadimg
请求地址:
http://api.weixin.qq.com/cgi-bin/media/uploadimg?access_token=L9QaapLUdUgyQxka6i1OqQ2YEiU0mgDo0qDU-1XB-ZCDeVNKd3mx9uLJ0NGNukY4VGl1oyBDWqrnrwRXsjIsJKk319v8xf3XVu1REExM1Ky0ynRkxVW3FCtV8rVFft-ATDMfAGAEOX&type=image
返回结果:
{ "errcode": 48001, "errmsg": "api unauthorized hint: [HV.hhA0093vr55!]"}
Connection: keep-alive
Date: Thu, 21 Sep 2017 09:11:33 GMT
Content-Type: application/json; encoding=utf-8
Content-Length: 69
200 OK
提示:
Unauthorized API function