Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Make HEAD order

1 view
Skip to first unread message

TGrey[WoLf]

unread,
Sep 10, 2009, 6:51:02 AM9/10/09
to
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]

unread,
Sep 10, 2009, 11:52:09 AM9/10/09
to
Ok i fix it.
HttpSendRequest 3 and 4 paramters for send data in PUT POST cases.
0 new messages