|
@@ -273,6 +273,7 @@ begin
|
|
end;
|
|
end;
|
|
R.FXHR.open(Method,URL);
|
|
R.FXHR.open(Method,URL);
|
|
R.FXHR.setRequestHeader('content-type','application/json');
|
|
R.FXHR.setRequestHeader('content-type','application/json');
|
|
|
|
+ Connection.SetupRequest(R.FXHR);
|
|
if R.Status in [usInserted,usModified] then
|
|
if R.Status in [usInserted,usModified] then
|
|
R.FXHR.Send(TJSJSON.Stringify(R.Data))
|
|
R.FXHR.Send(TJSJSON.Stringify(R.Data))
|
|
else
|
|
else
|