<?php
declare(strict_types=1);
$base = 'http://localhost/acc-engine/api.php/acc/v1/public/arag/auth/send-otp';
$ch = curl_init($base);
curl_setopt_array($ch, [
    CURLOPT_POST => true,
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
    CURLOPT_POSTFIELDS => json_encode(['phone' => '09121234567']),
]);
echo curl_exec($ch);
