Skip to content

user authentication and email validation using simple RESTful APIs. Register new users, authenticate users for login, log out users, and validate email addresses using HTTP requests. https://youtu.be/PRxTGBuk16E?si=OXvxDsFSW6kV5YLQ

Notifications You must be signed in to change notification settings

Arifurrahmanrifat29112002/EmailValidator

Repository files navigation

Register New User

Example Request:

POST https://emailchecker.arifurrahmanrifat.com/api/signup?name=arif&[email protected]&password=123456&confirm_password=123456

This API register new user

$client = new Client();

$headers = \[

'name' => 'Arif',

'email' => '[email protected]',

'password' => '123456',

'confirm\_password' => '123456'

\];

$body = '';

$request = new Request('POST', 'https://emailchecker.arifurrahmanrifat.com/api/signup?name=arif&[email protected]&password=123456&confirm_password=123456', $headers, $body);

$res = $client->sendAsync($request)->wait();

echo $res->getBody();

User Login Authentication

Example Request:

POST https://emailchecker.arifurrahmanrifat.com/api/[email protected]&password=123456

This API login Authenticates the user with the provided email and password

$client = new Client();

$request = new Request('POST', 'https://emailchecker.arifurrahmanrifat.com/api/[email protected]&password=123456');

$res = $client->sendAsync($request)->wait();

echo $res->getBody();

User Logout

Example Request:

GET https://emailchecker.arifurrahmanrifat.com/api/user-logout

Logs out the currently logged-in user and removes the login token.

$client = new Client();

$request = new Request('GET', 'https://emailchecker.arifurrahmanrifat.com/api/user-logout');

$res = $client->sendAsync($request)->wait();

echo $res->getBody();

Email Address Validation

Example Request:

POST https://emailchecker.arifurrahmanrifat.com/api/[email protected]

This API Validate the existenc and validity of an email address

$client = new Client();

$request = new Request('POST', 'https://emailchecker.arifurrahmanrifat.com/api/[email protected]');

$res = $client->sendAsync($request)->wait();

echo $res->getBody();

About

user authentication and email validation using simple RESTful APIs. Register new users, authenticate users for login, log out users, and validate email addresses using HTTP requests. https://youtu.be/PRxTGBuk16E?si=OXvxDsFSW6kV5YLQ

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published