Resends the verfication email for an unverified user.
URL : /resend
Method : POST
Header :
"Content-type": "application/json"
Body :
{
"email": "[valid email]",
}
Code : 200 OK
Condition : If user is already verified.
Code : 400 Bad Request
Body :
{
"code": "BadRequest",
"message": "User is already verified."
}
Condition : If user is does not exist.
Code : 400 Bad Request
Body :
{
"code": "BadRequest",
"message": "No user with given email"
}