Solved

POST with wininet

Posted on 2000-04-13
3
281 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

706 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

19 Experts available now in Live!

Get 1:1 Help Now