This API endpoint allows you to register a new user with their email and password.
POST http://localhost:3000/users/register
Content-Type: application/jsonemail (string, required): The email address of the user.password (string, required): The password for the user's account.{
"email": "[email protected]",
"password": "123456"
}
curl --location '<http://localhost:3000/users/register>' \\
--header 'Content-Type: application/json' \\
--data-raw '{
"email": "[email protected]",
"password": "123456"
}'
201 Createdapplication/json{}
409application/json