Newsgroups : Microsoft : microsoft.public.inetsdk.programming.wininet : 2006 Oct : sending binary data on http
| Subject: | sending binary data on http |
| Posted by: | "Abubakar" (emailallri..@yahoo.com) |
| Date: | Fri, 27 Oct 2006 17:56:56 |
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.