1

How do you create a form to post using WinHttpSendRequest?

For example: if I know

name=Johnson;
subject=Hi;
message=Hi;

How do i send it using the function?

Johnson
  • 11
  • 1
  • 2

2 Answers2

0

You will have to format it yourself according to the spec (application/x-www-form-urlencoded).

Luke
  • 11,211
  • 2
  • 27
  • 38
0

Please refer to http://yeilho.blogspot.com/2011/07/winhttpsendrequest.html

istudy0
  • 1,313
  • 5
  • 14
  • 22