<?php
use Infobip\Configuration;
use Infobip\Api\SmsApi;
use Infobip\Model\SmsDestination;
use Infobip\Model\SmsTextualMessage;
use Infobip\Model\SmsAdvancedTextualRequest;
use Twilio\Rest\Client;

require __DIR__ ."/vendor/autoload.php";


 $message=$_POST['message'];
 $sender=$_POST['sender'];
 $destination=$_POST['destination'];



 
 $base_url = "https://xk1q83.api.infobip.com";
 $api_key = "848b12e9d9c9c9f371f3c35a80f12747-cd86e631-0b97-4d3d-a414-de6c4f00d334";

 $configuration = new Configuration(host: $base_url, apiKey: $api_key);

 $api = new SmsApi(config: $configuration);

 $destination = new SmsDestination(to: $number);
?>