Authentication¶
Signup POST¶
API¶
/signup
Post Body (Json)¶
Request:¶
{
"username": "John Wick",
"email": "test@example.com",
"password": "123456"
}
Response: (String with Status Code)¶
- If email exists:
- password good:
STATUS_CODE:OK (200)Message: "usernameLogin successful"
- password bad:
STATUS_CODE:BAD_REQUEST (400)Message: "Invalid password"
- password good:
- If email does not exist:
STATUS_CODE:CREATED (201)Message: "User successfully registered"