Well, the following solution is working:
QString person
="type=healthcase&recipient=test@test.com";
header.setValue("Content-Type", "application/x-www-form-urlencoded");
header.setValue("Host", "dopcica.org");
http->request(header,person.toAscii(),buffer);
QString person="type=healthcase&recipient=test@test.com";
QHttpRequestHeader header("POST", "/software/send.php");
header.setValue("Content-Type", "application/x-www-form-urlencoded");
header.setValue("Host", "dopcica.org");
buffer = new QBuffer();
http->request(header,person.toAscii(),buffer);
To copy to clipboard, switch view to plain text mode
Regards,
Oscar
Bookmarks