Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Library : Other (not classified elsewhere) » HttpClient example with Post data
Re: HttpClient example with Post data [message #8374 is a reply to message #8365] Tue, 06 March 2007 09:41 Go to previous messageGo to previous message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
just had a look at the POST definition of HTTP:

it should work with the AddHeader method:
client.Post();
client.Url("http://www.fallingdutch.de");
client.AddHeader("\n\nvar1=hello&var2=fallingdutch");
client.Execute();


var1 and var2 are the names of values to set,
hello and fallingdutch are their values.
The newlines at the beginning should be added to ensure the header of the http-request is closed and the data-part start.


Bas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: How to run the email client [SOLVED]
Next Topic: am ashamed to ask for help on this but...
Goto Forum:
  


Current Time: Fri May 10 03:30:00 CEST 2024

Total time taken to generate the page: 0.02934 seconds