register
URL : /api/register/
Method : POST
{
"name":"a",
"email": "[email protected]",
"password": "1"
}
{
"id": 9,
"name": "a",
"email": "[email protected]"
}
{
"Number": 1062,
"Message": "Duplicate entry '[email protected]' for key 'email'"
}
login
URL : /api/login
Method : POST
{
"email":"[email protected]",
"password": "1"
}
{
"message": "success"
}
{
"message": "user not found"
}