Commit 5b791e0f authored by Kulya's avatar Kulya 😊

Begin adding Client to Billz 13

parent 300ce2dc
......@@ -198,14 +198,15 @@ require_once (__DIR__.'/keys.php');
'jsonrpc' => '2.0',
'method' => $method,
'params' => $params,
'id' => "222",
];
$sendData = json_encode($arData);
ALVC::eLog($sendData,"------ Billz :: curl req_Orig:");
if($method=="client.create"){
$sendData = '{"jsonrpc":"2.0","method":"client.create","params":{"phone":"998931830000","firstName":"Ivan","lastName":"Petrov","gender":1,"birthDate":"1999-01-17"},"id":"1"}';
ALVC::eLog($sendData,"------ Billz :: curl req_True:");
$rsendData = '{"jsonrpc":"2.0","method":"client.create","params":{"phone":"998931830000","firstName":"Ivan","lastName":"Petrov","gender":1,"birthDate":"1999-01-17"},"id":"1"}';
ALVC::eLog($rsendData,"------ Billz :: curl req_True:");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment