[簡訊服務] 公司簡訊介面及其呼叫

weixin_34126215發表於2014-06-09
String mobile = "15120001234";

String smsContent = "簡訊內容";

Holder<String> responseSMS = new Holder<String>();
String data = "{\"mobiles\":[{\"mobile\":\""+mobile+"\"}],\"content\":\""+smsContent+"\"}";
int result =ProbeUrl.getInstance().post(   "http://sms.boxren.com/sms/webservice/rest/smsService/send.json",   data,   responseSMS );

 

相關文章