拾叁
拾叁
请问下发送的文件URL,是否支持外网地址呢。 "data": { "type": "fileUrl" , "content": "https://pbs.twimg.com/media/GP6jidHbQAEN_Lv.jpg" }
请问下 发送文件的接口,改成 python 的写法如何编写的,一直提示 "request body is not a valid json! checkout please." curl --location --request POST 'http://localhost:3001/webhook/msg?token=[YOUR_PERSONAL_TOKEN]' \ --form 'to=testGroup' \ --form content=@"$HOME/demo.jpg" \ --form 'isRoom=1' python 代码如下: headers...
> 不应该是json=data嘛,不是data=data吧 > […](#) > ---原始邮件--- 发件人: ***@***.***> 发送时间: 2024年6月13日(周四) 晚上9:01 收件人: ***@***.***>; 抄送: ***@***.***>; 主题: Re: [danni-cool/wechatbot-webhook] FAQ 遇到问题可先自查 (Issue #72) 请问下 发送文件的接口,改成 python 的写法如何编写的,一直提示 "request body is not...
files = {'content': open(_wx_bot_file_path, 'rb')} data = { 'to': "test", 'isRoom': "1" } r = requests.post(self.send_message_api_url, files=files, data=data) 这样可以了!