I get an error with this script when trying to send a message to slack using curl in LUA. Thanks for your help.
cmd="c:\\curl\\bin\\curl.exe -X POST -H "Content-type: application/json" -d "{\"text\":\"Hello\"}" https://hooks.slack.com/services/xxxxxxxxxx/xxxxxxxxx/xxxxxxxxxxxxx"
LUA_ERROR:[string "cmd="c:\curl\bin\curl.exe -X POST -H "Content-type: applicat..."]:1: =' expected near -'