Authorization: Bearer ********************
{
"email": "johndoe@example.com",
"password": "password123",
"password_confirmation": "password123"
}
curl --location --request POST 'http://localhost:8000/api/register' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "johndoe@example.com",
"password": "password123",
"password_confirmation": "password123"
}'
{
"status": 201,
"data": {
"name": "johndoe",
"email": "johndoe@example.com",
"updated_at": "2025-03-13T08:44:50.000000Z",
"created_at": "2025-03-13T08:44:50.000000Z",
"id": 1
},
"message": "User registered successfully!"
}