Using Curl to Send an SMS

Example: Using Curl to send an SMS

curl -k -X PUT -H "Content-Type:application/json" -d '{
    "recipients": [
        "12345678900",
        "00987654321"
    ],
    "message": "Hello world"
}' https://192.168.2.1/api/sms/outbox?token=2442CB0CB60B2EE9F5A35DF5ED8C33

Example: Curl result

{
    "code" : 200, 
    "status" : "success"
}

 

Retrieve or View SMS Response

{

https://192.168/2/1/api/sms/outbox

 }