cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PCF_USer
Helper II
Helper II

HTTP Post is not able to send message

Hi All,
I am trying to PUSH message using power automate but it's not sending the message( hello world, hellow word2) to specified user id ("to").When I am trying to send it to my user id(to) , its getting success without any message sent. 
Here is the curl script that I formatted in power automate-

curl -v -X POST https://api.line.me/v2/bot/message/push \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer {channel access token}' \
-H 'X-Line-Retry-Key: {UUID}' \
-d '{
"to": "U4af4980629...",
"messages":[
{
"type":"text",
"text":"Hello, world1"
},
{
"type":"text",
"text":"Hello, world2"
}
]
}'

 

Please check screenshot of power automate formatted body

0 REPLIES 0

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,364)