public class SMSUtils {
public static void sendSMS(String number, String msg){
try {
URL url = new URL ("https://api.twilio.com/2010-04-01/Accounts/ACb80245f1512e4f2c83a550a469b40b0a/SMS/Messages.Xml");
Base64Converter converter = new Base64Converter();
String encoding = converter.encode("ACb80245f1512e4f2c83a550a469b40b0a:a852b10fc203462dd38367464ead42b1");
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("POST");
connection.setInstanceFollowRedirects(true);