| Screen No | Design |
|---|---|
| 01 | [Login] |
| Request Type | API End Point |
|---|---|
| POST | http://localhost/login |
:Header:
{
"Content-Type": "application/json"
}:Request:
{
"usrname": "vignesh",
"usrpassword": "123"
}:Response:
{
"status": 1,
"message": "Ok"
}- If Mobile Number exist in Database and [Status=2 or Status=3]
-
- Return response status as 1. We can Navigate the screen to get password.
- If Mobile Number exist in Database and [Status=1]
-
- Return response status will be 2. We can Navigate the screen to get OTP.
-
- Also API will send Generated OTP to respective mobile number.
- If Mobile Number does not exist in Database we will throw 401 error