通过https://api.weixin.qq.com/cgi-bin/material/batchget_material?access_token=ACCESS_TOKEN type=image 返回media_id 然后再调用获取永久素材接口
http请求方式: POST,https协议 https://api.weixin.qq.com/cgi-bin/material/get_material?access_token=ACCESS_TOKEN
调用示例
{
"media_id":MEDIA_ID
}
使用两种java发送POST方法 ,一种返回 "errmsg": "invalid credential, access_token is invalid or not latest rid: 61f200cf-2e296b7b-4ba9accf"
另一种返回 [�,P,N,G,,,,,I,H,D,R,,,,s,,,,�,,,,,,T,ޢ,,,,,,s,R,G,B,,�,�,,�,,,,,g,A,M,A,,,�,�,,�,a,,,,,,p,H,Y,s,,,,�,,,,�,,�,o,�,d,,,�,�,I,D,A,T,x,^,�,�,g,�,,e,�,�,�,�,�,�,+101,441more]
下面这种别用字符串接收