I changed the type in the service method: function CallPPSServiceMethod(AMethodName: String; const AArgs: array of string; launcher:string): string;
but when I call from webapp the method from TXDataWebClient like this:
const par: array of string = ['aaa'];
begin
Await(dmWebModule.xdataclntWebClient.RawInvokeAsync('IWEBService.CallPPSServiceMethod',['GetRecipients',par,'test']));
end;
Now is ok when I changed type from array of string to TArray<string> on the both side XData service and invoke from the web client.
Json from dev tools network tab when I'm using array of string is:
{"AMethodName":"GetRecipients","AArgs":["aaa"],"launcher":"test"}
After send I get http status code 400 (Bad request)