SMSv2 cURL

From CDYNE Wiki
Jump to: navigation, search

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
Personal tools
Namespaces

Variants
Actions
Navigation
Tools

Trial Key