Software Knowledge

  1. Home
  2. Docs
  3. Software Knowledge
  4. LINUX
  5. Line: Bot send message example
Generic selectors
Exact matches only
Search in title
Search in content

Line: Bot send message example

1. Create token by access to line notify website

2. Issue command on linux.

curl -X POST -H “Authorization: Bearer xxAtDkgIFw43rV46w38iww3qzq8sOw496pQiQAZjou7” -F “message=TEST send alert” https://notify-api.line.me/api/notify

3. Send image

$ curl -X POST -H “Authorization: Bearer CqdUZUW5W5H8QhzqxIMlLERMomUhCo4Jzq2XhBBdAcb” -F “message=TEST send alert” -F “im

[email protected]/home/tonya/20170601/images/A17060106034710.jpg” https://notify-api.line.me/api/notify

Last Updated on Saturday, 17