cURL
curl --request POST \ --url https://api.example.com/api/v2/auth/register \ --header 'Content-Type: application/json' \ --data ' { "email": "<string>", "password": "<string>", "username": "<string>" } '
Создание нового аккаунта по email и паролю
curl -X POST https://neuralbox.top/api/v2/auth/register \ -H "Content-Type: application/json" \ -d '{"email": "user@example.com", "password": "secure_pass123", "username": "myname"}'
{ "message": "Registration successful. Check your email to verify your account.", "user_id": 12345 }
409
422