This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function actionNotify() | |
{ | |
/* command line ====================================== | |
curl -i -X POST -H "Authorization: Bearer b8Gx9LQhQuiJmmuEWkteTPJe93J2jKjFkpr5B2tORmu" -d "message=ทดสอบข้อความจาก cURL" https://notify-api.line.me/api/notify | |
*/ | |
$token='3wKyKg8BpNHCUp3BJw6ovuQWJURJFbVxwFHDYtnWQ5N'; | |
$imgurl='https://forum.yiiframework.com/uploads/default/original/3X/a/1/a1b88caf35558ce965b3ab69c58577408922641a.png'; |