<?php
$response1 = file_get_contents('#nodeurl/send?receiver=#receiver&msgtext=#msgtext2&token=#token');
$response2 = file_get_contents('#nodeurl/send?receiver=#receiver&msgtext=#msgtext2&token=#token&mediaurl=#mediaurl');
 
echo $response1; // output {success:true} or {success:false}
echo $response2; // output {success:true} or {success:false}
?>