POST
/auth/loginLogin
Authenticate with email and password
بدنه درخواست
| فیلد | نوع | الزامی | توضیح |
|---|---|---|---|
email | string | الزامی | User email |
password | string | الزامی | User password |
پاسخ
برمیگرداند: AuthResponse
مثال
درخواست
{"email": "user@example.com", "password": "pass123"}پاسخ
{"accessToken": "jwt...", "user": {"id": "uuid", "email": "user@example.com"}}