mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-06-01 22:12:28 +02:00
* Update requests must also pass through setuprequest
This commit is contained in:
parent
2ec9850679
commit
b457601e27
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user