Discussion:
Make HEAD order
(too old to reply)
TGrey[WoLf]
2009-09-10 10:51:02 UTC
Permalink
Hello, i have a question about WinInet.
I try to make POST method for send some data to site. I try to put some new
head fields and seems it's work. But next i have to put login data like
name=...&pass=...&c=... ....
and i dont know how exact put this in order. I try


res = HttpAddRequestHeaders(hr, "name=123&pas=123", -1L,
HTTP_ADDREQ_FLAG_ADD_IF_NEW|HTTP_ADDREQ_FLAG_ADD| HTTP_ADDREQ_FLAG_REPLACE);

but this doesn't work.
Can you give me some suggestions?
Thanks
TGrey[WoLf]
2009-09-10 15:52:09 UTC
Permalink
Ok i fix it.
HttpSendRequest 3 and 4 paramters for send data in PUT POST cases.
Loading...