From b457601e27e327d14cb698baab5e87e658764508 Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 23 Feb 2020 19:22:26 +0000 Subject: [PATCH] * Update requests must also pass through setuprequest --- packages/fcl-db/restconnection.pas | 1 + 1 file changed, 1 insertion(+) 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