An open API service indexing awesome lists of open source software.

https://github.com/arifurdev/emailvalidator

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
https://github.com/arifurdev/emailvalidator

apiproject emailvalidation emailvalidation-api laravelapi rest-api restful-api

Last synced: 8 months ago
JSON representation

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

Awesome Lists containing this project

README

          

## Register New User

### Example Request:
```
POST https://emailchecker.arifurrahmanrifat.com/api/signup?name=arif&email=arifinfott@gmail.com&password=123456&confirm_password=123456
```

### This API register new user

```
$client = new Client();

$headers = \[

'name' => 'Arif',

'email' => 'arif@gmail.com',

'password' => '123456',

'confirm\_password' => '123456'

\];

$body = '';

$request = new Request('POST', 'https://emailchecker.arifurrahmanrifat.com/api/signup?name=arif&email=arifinfott@gmail.com&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/signin?email=arif@gmail.com&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/signin?email=arif@gmail.com&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/emailValidator?email=arif@gmail.com

```
### This API Validate the existenc and validity of an email address
```
$client = new Client();

$request = new Request('POST', 'https://emailchecker.arifurrahmanrifat.com/api/emailValidator?email=arif@gmail.com');

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

echo $res->getBody();
```