Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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:
I try second method:
strPostData := 'param1=value1¶m2=value2';
PostData := VarArrayCreate([0, Length(strPostData) - 1], varByte);
Data := VarArrayLock(PostData);
Move(strPostData, Data^, Length(strPostData));
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?