Solved

POST with wininet

Posted on 2000-04-13
3
284 Views
Last Modified: 2008-02-26
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"> .

Thanks
0
Comment
Question by:Hanan2
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 100 total points
ID: 2713330
HOWTO: Simulate a Form POST Request Using WinInet
http://support.microsoft.com/support/kb/articles/Q165/2/98.ASP
0
 

Author Comment

by:Hanan2
ID: 2715324
Thanks , but I have already tried it , I get an HTTP error 405.
0
 
LVL 23

Expert Comment

by:chensu
ID: 2716737
Check what error 405 means. And do more experiments, such as passing different parameters, trying different servers.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now