This API endpoint allows you to register a new user with their email and password.

Request

POST http://localhost:3000/users/register

Headers

Body

{
    "email": "[email protected]",
    "password": "123456"
}

Example

cURL


curl --location '<http://localhost:3000/users/register>' \\
--header 'Content-Type: application/json' \\
--data-raw '{
    "email": "[email protected]",
    "password": "123456"
}'

Response

Success

{}

Error