Closed mohammadlth closed 1 year ago
parameters must be array of the Parameters class use it Like this
$parameter = new **\Cryptommer\Smsir\Objects\Parameters("Code", "123456");
$parameters = array($parameter);
$send->Verify('xxxxxxxx', 993387, $parameters);
my code for send fast sms : $send = smsir::Send(); $send->Verify('xxxxxxxx', 993387, ['Code' => 123456]);
error: Client error:
POST https://api.sms.ir/v1/send/verify
resulted in a400 Bad Request
response:\n {"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":4 (truncated...)