add: register and login with DB query AND some struct type correction

This commit is contained in:
mario
2025-05-15 09:46:32 +07:00
parent dd4451c2a8
commit c13f834b92
16 changed files with 465 additions and 25 deletions

View File

@@ -15,8 +15,8 @@ POST {{baseUrl}}/auth/login
Content-Type: application/json
{
"email": "patient",
"password": "patient"
"email": "patient1@example.com",
"password": "password123"
}
### Refresh TOken
@@ -24,7 +24,7 @@ POST {{baseUrl}}/auth/refresh
Content-Type: application/json
{
"refresh"
"refresh_token": {{ refresh_token}}
}
### 2. QIDO-RS: Search for Studies