Skip to main content
POST
/
web-register
curl -X POST https://api-verifier-2.onrender.com/web-register \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "John",
    "lastName": "Doe",
    "email": "user@example.com",
    "password": "securepassword123"
  }'
{
  "message": "Registered successfully",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Request body

firstName
string
required
User’s first name
lastName
string
required
User’s last name
email
string
required
User’s email address
password
string
required
User’s password (minimum 6 characters)

Response

message
string
Success message
token
string
JWT authentication token
curl -X POST https://api-verifier-2.onrender.com/web-register \
  -H "Content-Type: application/json" \
  -d '{
    "firstName": "John",
    "lastName": "Doe",
    "email": "user@example.com",
    "password": "securepassword123"
  }'
{
  "message": "Registered successfully",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}