PHP code example of icybee / module-users-noncelogin
1. Go to this page and download the library: Download icybee/module-users-noncelogin library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
icybee / module-users-noncelogin example snippets
use ICanBoogie\HTTP\Request;
$app = ICanBoogie\app();
$request = Request::from([
'uri' => $app->routes['api:nonce-login-request'],
'is_post' => true,
'is_xhr' => true,
'request_params' => [
'email' => "[email protected]"
]
]);
# or
$request = Request::from([
'uri' => $app->routes['api:inline-nonce-login-request']->format(['email' => "[email protected]"]),
'is_post' => true,
'is_xhr' => true
]);