Re: [twsocket] Http Get or Post

2006-09-24 Thread Paul
Thanks all, I've tested with POST and GET and I can use either. Both server and client are special purpose applications. Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Fastream Technologies
Yes. and if you examine the source code, you will see that GET/GetAsync does not send the sendstream at all! Regards, SZ - Original Message - From: "Johnnie Norsworthy" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Monday, September 25, 2006 9:04 AM Subject: Re: [twsocket] HttpC

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Johnnie Norsworthy
I found a HTTP Post example in the included demos. Now I just have to snoop and find the exact requirements (cookies, etc.) for posting. I had to add the POSTDATA string to HttpCli.SendStream. Thanks, Johnnie -- To unsubscribe or change your settings for TWSocket mailing list please goto http://

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Mohit Sindhwani
Johnnie Norsworthy wrote: >> POSTDATA is not included in the header but like this: >> >> POST / HTTP/1.1 >> Host: www.overbyte.be >> >> username=user&password=pwd (POSTDATA HERE--just like content in GET) >> > > Thanks SZ, but how do I add that to a THttpCli before calling > .GetAsync? Is t

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Johnnie Norsworthy
> POSTDATA is not included in the header but like this: > > POST / HTTP/1.1 > Host: www.overbyte.be > > username=user&password=pwd (POSTDATA HERE--just like content in GET) Thanks SZ, but how do I add that to a THttpCli before calling .GetAsync? Is there an example in the ICS samples? -Johnnie -

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Fastream Technologies
Hello, POSTDATA is not included in the header but like this: POST / HTTP/1.1 Host: www.overbyte.be username=user&password=pwd (POSTDATA HERE--just like content in GET) Regards, SZ - Original Message - From: "Johnnie Norsworthy" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Mon

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Johnnie Norsworthy
Thanks; I know the header format, I just need to know how to apply the POSTDATA string to the header before getting the page. I used a FireFox extension to get the POSTDATA format. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listin

Re: [twsocket] HttpCli and POSTDATA

2006-09-24 Thread Mohit Sindhwani
Not sure if this helps you.. but if you use Firefox, there is an extension called LiveHTTPHeaders. It shows you the sequence of communication between the browser and the server. It will help you analyze what is sent to and fro and in what sequence. Hope this helps. Cheers Mohit. Johnnie Nor

[twsocket] HttpCli and POSTDATA

2006-09-24 Thread Johnnie Norsworthy
I have been using fat URLs to retrieve a few web search page results, but for one site I need to use POSTDATA in the request header. How do I set my POSTDATA string before a THttpCli.GetAsync? Thanks, -Johnnie Norsworthy -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] Http Get or Post

2006-09-24 Thread DZ-Jay
On Sep 23, 2006, at 08:32, Paul wrote: > Hi, > > What is the best method when I send a stream to a server, but expect a > stream back from the server with the same request ? It may sound silly, but think about the names of the methods to understand their original intention: GET - To request a