Added send_time.php functionality and API call