get request is now working perfectly fine

This commit is contained in:
filipriec
2025-03-04 20:12:06 +01:00
parent 42b97c9bff
commit 6d6fcb9fe1
7 changed files with 249 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
Valid get request:
grpcurl -plaintext -d '{"profile_name": "default", "table_name": "2025_adresar", "id": 2}' localhost:50051 multieko2.tables_data.TablesData/GetTableData
{
"data": {
"banka": "New Banka",
"deleted": "false",
"drc": "New DRC",
"fax": "New Fax",
"firma": "New Firma",
"ico": "New ICO",
"id": "2",
"kontakt": "New Kontakt",
"kz": "New KZ",
"mesto": "New Mesto",
"psc": "New PSC",
"skladm": "New Skladm",
"skladu": "New Skladu",
"stat": "New Stat",
"telefon": "New Telefon",
"ucet": "New Ucet",
"ulica": "New Ulica"
}
}
Request of a deleted data:
grpcurl -plaintext -d '{"profile_name": "default", "table_name": "2025_adresar", "id": 1}' localhost:50051 multieko2.tables_data.TablesData/GetTableData
ERROR:
Code: NotFound
Message: Record not found