I have a mikrotik router with LTE interface. I want to send SMS via REST API, but I'm not able to be success.
This command runs OK:
Code: Select all
curl -k -u admin: 'https://192.168.8.95/rest/tool/sms'
With this result:
Code: Select all
{"allowed-number":"","auto-erase":"false","channel":"0","last-ussd":"","port":"lte1","receive-enabled":"true","secret":"","sim-pin":"","status":"running"}
I am trying to send SMS with this command:
Code: Select all
curl -k -u admin: 'https://192.168.8.95/rest/tool/sms/send?phone-number:+420123123123&message=OK'
I got this error
Code: Select all
{"error":500,"message":"Internal Server Error"}
Could anyone help me please?
Thank you
Tomas