Click to See Complete Forum and Search --> : How to read back the optional data sent thru HttpSendReuest?


Kumaranatcodeguru
April 3rd, 2008, 02:27 AM
Hi All,

I am sending optional data to the webserver thru Httpsendrequest .
I want to read back the same data from server.

Kindly let me know how can i read back the data from server.

If someone can send me piece of code would be of great help as i need it urgently.

Thanks in advance.

Regards
Kumaran

Kumaranatcodeguru
April 3rd, 2008, 03:42 AM
Anybody has any idea about this,
Kindly help me in this regard.

Thanks in advance.

Regards
Kumaran.

Edders
April 3rd, 2008, 04:25 AM
A bit of patience goes a long way. All people on this forum a volunteers doing this in their spare time - no need to hammer a thread since you've not had a reply within the hour!

It is unfortunately not entirely clear what you are trying to achieve here. I understand that your program sends optional data to a webserver through the Httpsendrequest function. And that you somehow want to read this back. When do you want to read this back? An hour later? Immediately after sending it? Is this just any possible web server, or is it one you have control over?

Kumaranatcodeguru
April 3rd, 2008, 06:59 AM
Thanks for the reply Edders.

I have created proxy webserver using jave servlet(i have control over it), and i am trying to post optional data and retrieve it, immediately after sending it.

I am new to web service, is it server's reponsiblity to make the data available to the client, where it recieves from ?

I need one more information regarding to this,
Is there any size limitation for the optional data sending thru HttpSendRequest?

I shall wait to hear from you.

Regards
Kumaran.

Krishnaa
April 3rd, 2008, 07:33 AM
Did you use Win32 APis with C++ ? Or java ?

Kumaranatcodeguru
April 3rd, 2008, 07:39 AM
I am using win32 api with C++.

Regards
Kumaran.

Edders
April 4th, 2008, 06:20 AM
I'm afraid that I have never used the optional data, I do not know how it fits in with the HTTP protocol and if servers are required to return this data back to the client or not. You may need to read the appropriate RFCs to find this out.

Krishnaa
April 4th, 2008, 06:58 AM
How have you created a servlet using C++ with Win32 ?