Sending the GET Form request

Check also Build Form Post Request

procedure TfmGetFormPost.btnGetClick(Sender: TObject);   
begin   
   clHttpRequest1.Clear();   
 
   clHttpRequest1.AddFormField('name''John');   
   clHttpRequest1.AddFormField('account''12345');   
 
   clDownloader1.URL := 'www.myserver.com/account.asp';   
   clDownloader1.HTTPRequest := clHttpRequest1;   
   clDownloader1.UseHTTPRequest := True;   
   clDownloader1.Start(False);   
end

Add Feedback