API Autentikasi¶
Path dasar: /auth
Daftar¶
POST /auth/register
Content-Type: application/json
{
"email": "user@example.com",
"password": "password123",
"name": "Alice"
}
Respons
Masuk¶
POST /auth/login
Content-Type: application/json
{
"email": "user@example.com",
"password": "password123"
}
Segarkan Token¶
Dapatkan Pengguna Saat Ini¶
Respons