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
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
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://
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
> 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
-
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
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
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
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
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
10 matches
Mail list logo