Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wininet HTTP Post Parameters

Status
Not open for further replies.

BigOrangeMonkey

Programmer
Aug 27, 2002
26
0
0
GB
Hi,

I am looking into using the wininet DLL to transmit data (An XML String) to a servlet, the documentation states :

"Data needs to be passed to these URLs through HTTP request. The XML formed needs to be passed to these URLs as a data stream (String of Characters). The server does not expect an .xml file. All it needs is the XML as a string passed as a POST Parameter"

I cant find out how you pass a POST Parameter, I can see that you pass the value "POST" in the verb of HttpOpenRequest but where do I place my XML string to pass it to the servlet.

Thanks very much,
BigOrangeMonkey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top