curl --request POST \
--url http://localhost:3091/v1/api/auth/register \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pseudo": "<string>",
"lastName": "<string>",
"firstName": "<string>",
"email": "<string>",
"phone": "<string>",
"nationality": "<string>",
"dateOfBirth": "<string>",
"password": "<string>"
}
'{}Creates a new user account with the provided personal details and credentials.
curl --request POST \
--url http://localhost:3091/v1/api/auth/register \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"pseudo": "<string>",
"lastName": "<string>",
"firstName": "<string>",
"email": "<string>",
"phone": "<string>",
"nationality": "<string>",
"dateOfBirth": "<string>",
"password": "<string>"
}
'{}JWT access token from POST /v1/api/auth/login
4 - 108 - 20^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,20}$User registered successfully
The response is of type object.