Home Integration Online SMS Pricing Login /Sign up My Account Contact Us  
 
Send SMS with JAVA  [HTTP API]

 

Use the JAVA codings below to send SMS. You can modify this basic code to your requirements.


change values of id, pw, to and text with your user id, password, senders telephone number(to) and the message(text)

   





import java.net.*;

import java.io.*;


public class URLReader {
public static void main(String[] args) throws Exception {


URL textit = new URL("http://textit.biz/sendmsg/index.php?id=94000000000&pw=0000&to=0000000000&text=Test+SMS");
BufferedReader in = new BufferedReader(
new InputStreamReader(textit.openStream()));


String inputLine;
while ((inputLine = in.readLine()) != null)
System.out.println(inputLine);
in.close();
}
}



 



more details can be found at the oracle java documentation at https://docs.oracle.com/javase/tutorial/networking/urls/index.html


 

  Resources

Php Integration script

C# Integration script

JAVA Integration script

cURL Integration script

 

 

Downloads

HTTP API Technical Manual (PDF Format)