POST
{
"Access": "application/json",
"Content-Type": "application/json"
}
// Type JSON String
{
"user": {
"fname": "User's First Name",
"lname": "User's Last Name",
"username": "User's Username",
"mail": "User's E-Mail",
"password": "User's Password",
}
}
{
"alreadyInUse": "both",
"error": "Both Username and Email are already registred"
}
{
"alreadyInUse": "username",
"error": "Username already in use"
}
{
"alreadyInUse": "mail",
"error": "Email already registred"
}
{
"error": "Internal server error"
}
{
"message": "Successfully Register"
}