Auth
Register a new user
post/auth/register
Request
- Base URL: http://localhost:7460/api/v1
- URL: http://localhost:7460/api/v1/auth/register
- Auth: none declared
Request body
Example request
{
"name": "John Doe",
"email": "user@example.com",
"password": "password",
"password_confirmation": "password"
}Response
Registration successful
Example response
{
"user": {
"id": 1,
"name": "John Doe",
"email": "user@example.com"
},
"token": "1|abc123..."
}Changes
No recorded changes to this operation across all 1 revision of this API.