公司短信接口及其调用

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 );

 

你可能感兴趣的:(接口)