Search found 1 match

by Pico12
Wednesday 01 March 2017 14:08
Forum: LUA
Topic: Clickatell and LUA
Replies: 2
Views: 926

Re: Clickatell and LUA

Hello,
for any shell command, you could call os.execute() :

os.execute('echo "Hello" | nc localhost 12012');


os.execute('curl -i -X POST -H "Content-Type: application/json" -H "Accept: application/json" -H "Authorization: 2Y5zsIpqQyqImq6o308ctw==" -d \'{"content": "Test Message Text", "to ...