* use /sql instead of /cli HTTP endpoint

This commit is contained in:
Michaël Van Canneyt 2024-09-27 14:30:50 +02:00
parent c0b0fb81df
commit b38fc6275a

View File

@ -573,8 +573,9 @@ function TManticoreSearchSources.CreateHTTPCmdURL(aCmd : String) : string;
Const
BaseURL = 'http://%s:%d/cli?%s';
// BaseURL = 'http://%s:%d/cli?%s';
// Use SQL query, to return JSON
BaseURL = 'http://%s:%d/sql?mode=raw&query=%s';
Var
lCmd,lHostName : String;