<?php

namespace App\Http\Controllers\Api;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Http;

class SMSController extends Controller
{

    public function sendOTP () {
        $response = Http::post('https://api.itexmo.com/api/broadcast', [
            'Email' => 'cloud.rweb@gmail.com',
            'Password' => 'RW3bS0luti0nsC0rp',
            'Recipients' => ['09190080591'],
            'Message' => 'Hello',
            'ApiCode' => 'PR-RWEBS392247_7EMET',
            'SenderId' => 'RWeb',
        ]);

        return $response;
    }

}
