Failed to send message while doing PUSH request

Below is the request I am trying to use but its giving error as failed to send message, I have added the user in my official LINE account but and followed all the steps from documentation but still getting this error, Can you please help here post request- https://api.line.me/v2/bot/message/push

Content-Type- Application/json Authorization- Bearer FUPzNN0H9XZhhzZgghpbRp2iSZAf7Q8L6TNFn0ZknRFygenUtQhOkpNLgXjcJ5iucyHqN1pXGfBWxDz3NM( not full key, I have used it properly)

Body-{ "to": "U42d1eee8bfa6526d8f19428282", "messages": [ { "type": "text", "text": "Hello, world1" }, { "type": "text", "text": "Hello, world2" } ] }

  • 0
  • 3
  • 376
  • twitter facebook

Did you read error response?

  • 0

No I am using POSTMAN to post request

  • 0

using curl right ? seem like mistyping replace a - with :

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...",
            "text":"Hello, world1"
            "text":"Hello, world2"
  • 0



本当によろしいですか? question.vm