通过行API发送消息时,我收到错误:
{&#34; message&#34;:&#34;请求正文中的&#39;到&#39;,无效(行: - ,列: - )&#34;} < / p>
我使用的命令:
curl -X POST \
-H 'Content-Type:application/json' \
-H 'Authorization: Bearer **********' \
-d '{
"to": "******",
"messages":[
{
"type":"text",
"text":"Hello, world1"
},
{
"type":"text",
"text":"Hello, world2"
}
]
}' https://api.line.me/v2/bot/message/push