企业微信群机器人在windows下发消息失败Warning: wrong json format?
同一条命令,在Linux下是成功的: root@wudan:/home/wudan# curl -H 'Content-Type: application/json' -d '{"msgtype":"text","text":{"content":"IP is 100.1.1.7"}}' https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxx {"errcode":0,"errmsg":"ok"}root@wudan:/home/wudan# 但是在Windows下就发送失败,提示json错误: C:\Users\45409>curl -H 'Content-Type: application/json' -d '{"msgtype":"text","text":{"content":"IP is 100.1.1.7"}}' https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=xxxx curl: (6) Could not resolve host: application {"errcode":40008,"errmsg":"Warning: wrong json format. invalid message type, hint: [1636501875_160_30dc0d3d0428d5540682ab25145ad6bd], from ip: 220.200.59.109, more info at https://open.work.weixin.qq.com/devtool/query?e=40008"}