I want to call the API URL of another website in php file. The URL is:
My code:
<?php
$workingkey = "YourKey";
$to = "DestinationNumber";
$sender = "Source";
$message = "HELLO";
$url = "http://otherwebsite.com/api/web2sms.php?workingkey=$workingkey&to=$to&sender=$sender&message=$message";
$this = execute($url);
?>
I think many things are missing. So please tell me how to make a susscessful API call...