Skip to content

Commit

Permalink
Small JSONRPC demo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Jul 19, 2024
1 parent d515664 commit 051e778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/jsonrpc/sync_client/MainClientFormU.pas
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ procedure TMainForm.edtGetCustomersClick(Sender: TObject);
FDMemTable1.Active := False;
lReq := TJSONRPCRequest.Create(Random(1000), 'getcustomers');
lReq.Params.AddByName('FilterString', edtFilter.Text);
lResp := FExecutor.ExecuteRequest('/jsonrpc', lReq, jrpcGET);
lResp := FExecutor.ExecuteRequest('/jsonrpc', lReq, jrpcPOST);
FDMemTable1.Active := True;
FDMemTable1.LoadFromTValue(lResp.Result);
FDMemTable1.First;
Expand Down

0 comments on commit 051e778

Please sign in to comment.