Abubakar
2006-10-27 12:56:56 UTC
Hi,
i'm using wininet apis from c++ code and accessing my http web server.
Uptill now when ever I want to send something (some information) to the
server I use the url to add that information. Like say i wanna get item # 3,
I would add "&item=3" to the url and pass it to HttpOpenRequestA. Now the
problem is that I want to send some binary data to the webserver, say I have
a series of binary data in a char* and now I want to send it to the server.
I have no idea how do I do that. Naturally i cant use a normal url since its
a text thing (thats what i think). Can HttpAddRequestHeadersA help maybe?
Regards,
-ab.
i'm using wininet apis from c++ code and accessing my http web server.
Uptill now when ever I want to send something (some information) to the
server I use the url to add that information. Like say i wanna get item # 3,
I would add "&item=3" to the url and pass it to HttpOpenRequestA. Now the
problem is that I want to send some binary data to the webserver, say I have
a series of binary data in a char* and now I want to send it to the server.
I have no idea how do I do that. Naturally i cant use a normal url since its
a text thing (thats what i think). Can HttpAddRequestHeadersA help maybe?
Regards,
-ab.