POST with wininet

I need to write using SDK Wininet a post request to the server . I don't know how to use the HttpOpenRequest and HttpSendRequest so I can add tags like <INPUT TYPE="RADIO" NAME="r" VALUE="MDAwMDAwMD"> .

Who is Participating?
chensuConnect With a Mentor Commented:
HOWTO: Simulate a Form POST Request Using WinInet
Hanan2Author Commented:
Thanks , but I have already tried it , I get an HTTP error 405.
Check what error 405 means. And do more experiments, such as passing different parameters, trying different servers.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.