* Update requests must also pass through setuprequest

This commit is contained in:
michael 2020-02-23 19:22:26 +00:00
parent 2ec9850679
commit b457601e27

View File

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