inferencia
Verified User
I use this method:
and get this result:
Is this API active already ?
require '../httpsocket.php';
$emails=$email.',[email protected]';
$sock = new HTTPSocket;
$sock->connect($serverip,2222);
$sock->set_login("admin","xxxxxxx");
$sock->set_method('GET');
$sock->query('/CMD_API_RESEND_EMAIL',
array(
'user' => $username,
'newpass' => 'yes',
'email' => $emails
));
$result = $sock->fetch_body();
echo $result;
and get this result:
You cannot execute that command
Detalles:
The request you've made cannot be executed because it does not exist in your authority level
Is this API active already ?