TGrey[WoLf]
2009-09-10 10:51:02 UTC
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
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