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

[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] 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

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 empty line, end of header username=userpassword=pwd (POSTDATA HERE--just like content in GET) Regards, SZ - Original Message - From: Johnnie Norsworthy [EMAIL PROTECTED] To: ICS support

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 empty line, end of header username=userpassword=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

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 empty line, end of header username=userpassword=pwd (POSTDATA HERE--just like content in GET) Thanks SZ, but how do I add that to a THttpCli before calling