curl -X POST https://rolearn.dev/api/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "dev@example.com", "password": "securepass123"}'
{
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"token_type": "bearer"
}
Create a new RoLearn account
curl -X POST https://rolearn.dev/api/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "dev@example.com", "password": "securepass123"}'
{
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"token_type": "bearer"
}
curl -X POST https://rolearn.dev/api/auth/register \
-H "Content-Type: application/json" \
-d '{"email": "dev@example.com", "password": "securepass123"}'
{
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"token_type": "bearer"
}