security.imgSecCheck 有python后台的例子吗?
报错信息是:errcode: 41005, errmsg: "media data missing rid: 605e0490-3bc98158-62723e15" 代码如下: filename = os.path.join(settings.UPLOAD_PATH_ABS,"bb900c3e-86de-11eb-a290-b496913c7477.PNG")
content_data = {"media": filename}
content_data = json.dumps(content_data, ensure_ascii=False).encode('utf-8')
# headers = {'Content-Type': 'multipart/form-data'}
http = urllib3.PoolManager()
http_url = settings.ImgSecCheck_URL + settings.WX_Access_Token
response = http.request('POST', http_url,body=content_data)
求大佬神仙帮忙,拖我出这苦海。。。