put working now doing post general test

This commit is contained in:
filipriec
2025-03-03 23:43:43 +01:00
parent eef5efccd4
commit 74f43bdc52
12 changed files with 557 additions and 3 deletions

View File

@@ -0,0 +1,36 @@
grpcurl -plaintext -d '{
"profile_name": "default",
"table_name": "2025_company_data1",
"id": 1,
"data": {
"firma": "ACME Corporation Updated",
"company_name": "ACME Corp Updated",
"textfield": "Updated sample text",
"textfield2": "Updated additional information",
"textfield3": "Updated more details",
"headquarters_psc": "54321",
"contact_phone": "987-654-3210",
"office_address": "456 Updated St, Springfield",
"support_email": "updated-support@acmecorp.com",
"is_active": "false"
}
}' localhost:50051 multieko2.tables_data.TablesData/PutTableData
{
"success": true,
"message": "Data updated successfully",
"updatedId": "1"
}
grpcurl -plaintext -d '{
"profile_name": "default",
"table_name": "2025_company_data1",
"id": 2,
"data": {
"firma": "1",
"is_active": "true"
}
}' localhost:50051 multieko2.tables_data.TablesData/PutTableData
{
"success": true,
"message": "Data updated successfully",
"updatedId": "2"
}