$body = @{ username = "teacher_b_7828"; password = "Teacher123" } | ConvertTo-Json $res = Invoke-RestMethod -Uri "https://classnotify.paradise.eu.org/api/auth/login" -Method Post -Body $body -ContentType "application/json" Write-Host "Teacher Login Success! Name: $($res.fullName), Role: $($res.role), TenantId: $($res.tenantId)"