curl --location --request POST 'https://staging.syncode.anggita.org/api/auth/register' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "string",
"email": "user@example.com",
"password": "stringst"
}'{
"accessToken": "string",
"user": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"email": "user@example.com",
"username": "string",
"displayName": "string",
"role": "user",
"avatarUrl": "string",
"bio": "string",
"stats": {
"totalSessions": 0,
"totalProblems": 0,
"streakDays": 0
},
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedAt": "2019-08-24T14:15:22.123Z"
}
}