Clickatell and LUA
Posted: Friday 24 February 2017 20:53
Dear all,
I'm trying to set-up an clickatell notifcitation.
Does someone know how you can make this cURL POST in LUA?
When browsing through other scripts I was only able to find an different HTTP calls 'http://api.clickatell.com/http/sendmsg?....."
Has something changed over time?
CURL CALL:
==========
curl -i \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: 2Y5zsIpqQyqImq6o308ctw==" \
-d '{"content": "Test Message Text", "to": ["+3161234567"]}' \
-s https://platform.clickatell.com/messages
Best regards
I'm trying to set-up an clickatell notifcitation.
Does someone know how you can make this cURL POST in LUA?
When browsing through other scripts I was only able to find an different HTTP calls 'http://api.clickatell.com/http/sendmsg?....."
Has something changed over time?
CURL CALL:
==========
curl -i \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: 2Y5zsIpqQyqImq6o308ctw==" \
-d '{"content": "Test Message Text", "to": ["+3161234567"]}' \
-s https://platform.clickatell.com/messages
Best regards