You should do a search in the mailing list archive. I quickly found this message: http://marc.info/?l=twsocket&m=118777379428004&w=2 But I remember there where a lot of messages about posting.
Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be ----- Original Message ----- From: "Terry Gignac" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Friday, January 04, 2008 6:35 PM Subject: Re: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer > Thank you for the information. You are correct in that I would like to > try to use Delphi to accomplish this task. We also have the option of > using Visual Studio, but I try to use Delphi as many times as can be > justified. > > I found examples of how to pick up the URL, the method (POST), the > encoding (default in this case) from reading past postings and sample > code, but do not think I found any example code showing how to utilize > data fields that need to be filled in prior to posting. Would you have > an example of this. In this case, with the ASPX Page, after filling in > the data and submitting, they did not appear on the address line with > the other input variables. > > Thanks, > Terry > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Francois Piette > Sent: Friday, January 04, 2008 9:46 AM > To: ICS support mailing > Subject: Re: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer > > You can't fill a HTML form using ICS, but you can send the same things > as the browser do when you submit an HTML form. > To sublit a form using the ICS HTTP client component, you must have a > look at the source of the form and extract the action (that is the URL > which will process the form), the method (that is either GET or POST), > the encoding (how to format data) and of course all the data fields. > Once you have all those elements, you can craft the same request as the > one generated by any browser. > > If you are not that much good at HTML forms, instaed of looking at the > form's source code, you may use a sniffer and capture the request sent > by the browser when you submit the form. Then you have just to see what > is sent and how it is sent. See the link page at my website for links > some free sniffer. > > > Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html > -- > [EMAIL PROTECTED] > Author of ICS (Internet Component Suite, freeware) Author of MidWare > (Multi-tier framework, freeware) http://www.overbyte.be > > > > ----- Original Message ----- > From: "Terry Gignac" <[EMAIL PROTECTED]> > To: <twsocket@elists.org> > Sent: Friday, January 04, 2008 2:12 PM > Subject: [twsocket] aspx page ICS Auto Fill, Post, and Read Answer > > >> >> I have been looking through peoples usage of ICS Components today and >> have found it very interesting. >> >> I came across a posting where an individual was asking if you could >> use these components inside of Delphi to auto fill a form and click > Ok. >> >> Is that what the sample that was posted does? >> HttpCli1.URL := 'http://www.borland.com'; HttpCli1.RcvdStream := >> TFileStream.Create('borland.html', fmCreate); HttpCli1.Get; if >> HttpCli1.StatusCode <> 200 then >> ShowMessage(HttpCli1.ReasonPhrase); >> HttpCli1.RcvdStream.Pos := 0; >> Memo1.Lines.LoadFromStream(HttpCli1.RcvdStream); >> HttpCli1.RcvdStream.Free; >> >> There is no mention of Post or Put anywhere? >> >> Would you be able to provied a better example of how you are able to >> auto-fill aspx input fields automatically and post the information, >> causing the page to update which would allow us to read the received >> strem >> containing the answer? >> >> Thanks very much for your help, >> Terry >> -- >> To unsubscribe or change your settings for TWSocket mailing list >> please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket >> Visit our website at http://www.overbyte.be > > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be > -- > To unsubscribe or change your settings for TWSocket mailing list > please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket > Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be