通过该方法获取时报错{ "errcode": 48001, "errmsg": "api unauthorized hints: [3egdPb4Me-gLf9VA!]"}
https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=XXXXX&expire_seconds=604800&action_name="QR_STR_SCENE"&action_info={"scene": {"scene_str": "XXXXX"}}
其中token是https://api.weixin.qq.com/cgi-bin/token方法获取得
临时二维码请求说明
http请求方式: POST URL: https://api.weixin.qq.com/cgi-bin/qrcode/create?access_token=TOKEN POST数据格式:json POST数据例子:{"expire_seconds": 604800, "action_name": "QR_SCENE", "action_info": {"scene": {"scene_id": 123}}} 或者也可以使用以下POST数据创建字符串形式的二维码参数:{"expire_seconds": 604800, "action_name": "QR_STR_SCENE", "action_info": {"scene": {"scene_str": "test"}}}