I'm trying to transform a Delphi application that uses TWebBrowser components into a Chromium based one, using CEF4Delphi... of course))
But I'm stuck on a feature that uses that code:
Code: Select all
var
ipsHTTPS: TipsHTTPS;
begin
...
ipsHTTPS.UseWinInet := True;
ipsHTTPS.LocalFile := 'd:\temp\test.pdf';
ipsHTTPS.ContentType := 'application/x-www-form-urlencoded';
ipsHTTPS.UserAgent := 'xxx';
ipsHTTPS.AddCookie('cookieName','cookieValue');
ipsHTTPS.PostData := 'xxx=yyy'
ipsHTTPS.URL := 'xxx';
ipsHTTPS.Action := httpPost;
...
I tried to use LoadRequest but I don't know how to set the LocalFile parameter with LoadRequest
Anyone has an idea to help me?
Thanks in advance