/login.php POST Email
This endpoint will sign in users using email id and password
Request
| Parameter | Type | Description |
|---|---|---|
string |
the email id of the user | |
| pwd | string |
this is the user's password. |
Response Param Error
{
"code":-9999,
"msg":"Parameter Error"
}
Response Success
{
"code":202,
"msg":"Successfully logged in.",
"user":42,
"username":"danny",
"email":"[email protected]"
}
Response Invalid Details
{
"code":-302,
"msg":"Invalid Email Password."
}