Hi,
I try to realize follow request:
https://www.someurl.com/script.php?param1=value1¶m2=value2
It's not work, when I try to use this:
WebBrowser.Navigate('https://www.someurl.com/script.php?param1=value1¶m2=value2
')
I try second method:
strPostData := 'param1=value1¶m2=value2';
PostData := VarArrayCreate([0, Length(strPostData) - 1], varByte);
Data := VarArrayLock(PostData);
try
Move(strPostData[1], Data^, Length(strPostData));
finally
VarArrayUnlock(PostData);
end;
URL := 'https://www.someurl.com/script.php';
Flags := EmptyParam;
TargetFrameName := EmptyParam;
Headers := EmptyParam;
Form1.Web.Navigate2(URL, Flags, TargetFrameName, PostData, Headers);
But it's not working too..
Any ideas? May be I wrong some with headers?
Thank you!