Last active
September 26, 2019 14:58
-
-
Save OlabodeAbesin/fff663e784fce28b5026cb9310e48662 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Notifications::auth()->mobileNumberVerification($event->otp->phone, $event->otp); //Recommended | |
//Not recommended! | |
$client = new Client(); | |
$response = $client->$method($baseUri . $requestUrl, [ | |
'headers' => [], | |
'auth' => ['username', 'password'], | |
'json' => $formParams, | |
]); | |
return json_decode($response->getBody()->getContents()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment