‘71234567890@c.us’,
‘message’ => ‘Hello World’
);
$options = array(
‘http’ => array(
‘header’ => “Content-Type: application/json\r\n”,
‘method’ => ‘POST’,
‘content’ => json_encode($data)
)
);
$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);
echo $response;
?>