Example code for SMS integration in language Delphi

Send SMS - HTTP/GET


Uses IdHTTP;

function getContent(url: String): String;
var
http : TIdHTTP;
begin
 http := TIdHTTP.Create(nil);
   try
     Result := http.Get(url);
   finally
     http.Free;
   end;
end;

Memo.Lines.Add(getContent('http://api.labsmobile.com/get/send.php?username=[X]&password=[X]&msisdn=34609036253&sender=SENDER&message=This+is+the+message'));

Credit inquiry - HTTP/GET


Uses IdHTTP;

function getContent(url: String): String;
var
http : TIdHTTP;
begin
 http := TIdHTTP.Create(nil);
   try
     Result := http.Get(url);
   finally
     http.Free;
   end;
end;

Memo.Lines.Add(getContent('http://api.labsmobile.com/get/balance.php?username=[X]&password=[X]'));
  • contact form support

    Sign up!

    Create a user account and send your SMS messages in seconds. You will have all the functionalities and benefits in the same platform.

    Send from API and manage your account with our online application WebSMS.

    Create new account
  • Hey Petit, Services for rural accommodation recommends LabsMobile

    SMS confirmation and reservation reminders for rural accommodation using an online portal.

    Watch more reviews
  • dashboard aplicación online

    Maximum reliability at the best price

    At LabsMobile we only offer direct routes of maximum reliability and quality. Enjoy our platform and all our services for the price of an SMS.

    Pay ONLY for sent messages.

    Check our rates
  • dashboard aplicación online

    Need more info? Contact us!

    Our technical department has professionals with years of experience and we have made multiple integrations.

    We guide and help you through the process.

    Request technical support
  • Send your first message

    This tutorial will explain how to send your first SMS messages from a new account using the basic and manual sending form.

    Ir al tutorial
loader