diff --git a/packages/fcl-db/restconnection.pas b/packages/fcl-db/restconnection.pas index be2342d..a4ebaab 100644 --- a/packages/fcl-db/restconnection.pas +++ b/packages/fcl-db/restconnection.pas @@ -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