SMSv2 cURL

Accessing WCF Web Services with JSON and [cURL]

Advanced SMS Send
Sending an SMS via cURL is easy to do. You can download cURL from http://curl.haxx.se

The following example allows you to call a .NET WCF service via REST and JSON using cURL:

curl -H "Content-Type: application/json" -d '{ "LicenseKey":"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX", "SMSRequests":[{"AssignedDID":"", "Message":"From Curl", "PhoneNumbers":["XXXXXXXXXX","XXXXXXXXXX"], "ReferenceID":"ReqFromCurl", "StatusPostBackURL":""}]}' http://sms2.cdyne.com/sms.svc/AdvancedSMSsend