How to send the actual message?
POST http://login.42call.com/api/rest/v2/?sms
POST data:
{ "act": "sendSms", "phonenumbers": "0123456789", "message": "my sms text" }
Request Headers:
Connection: keep-alive x-date: 2014-02-20 19:38:49.000000 GMT+0000 x-authorization: demo:SOGyuh3sE7beTnvei3RJibGudCI= Content-Type: application/x-www-form-urlencoded Content-Length: 82 Host: login.42call.com
Response Body:
{ "error": false, "codes": [ { "code": 200, "description": "OK" } ], "body": { "smsbilledId": "6D800504-D9DC-446B-B03B-468E17582A89", "customernumber": "1234", "accountnumber": "1234", "username": "demo", "customercurrency": "eur", "customeraccountstate": "16,94" } }
The modul also works for BULK SMS or named mass sms. Just transmit the receiver separated with | like 0123|2314|4567 as show here at Mashape.
Or have a look at the complete jQuery mobile and Phonegap (for Android) Example on github.