AuthenticationSign Up

SignUp User

Create User Data

Endpoint

Base URL
http://localhost:5000
Method and Endpoint
POST /api/auth/signup

Request Body

Request Body
{
    "first_name": "firsName",
    "last_name": "lastName",
    "email": "example@gmail.com",
    "password": "YourPassword_123",
}

Responses

You will get responses like this:

201 (created)

Response Body
{
    "message": "User Created Successfully"
}

400 (Bad Request - Validate Error)

Response Body
{
    "message": "Validate-Error"
}

400 (Bad Request - Email Exist)

Response Body
{
    "message": "User with given email already exist!"
}

500 (server error)

Response Body
{
  "message": "Internal server error"
}