Hi,
The following code doesn't work...
Before calling this method, the http class worked good by initially calling sethost method and then several get methods.
But then I need to send a lot of variables, so the POST method is necessary.
I tested a POST html form to valid my PHP script send.php. Everything is ok.
Also, the SLOT requestFinished is called and no errors are reported...
Any idea? Or a functional POST method example?
Thanks
Oscar
Code:
person += "&recipient=" + recipient; person += "&from=" + email; Patient patient = Patient::get(patientId); person += "&table=person"; person += "&surname=" + patient.surname; connect(http, SIGNAL(requestFinished(int, bool)), this, SLOT(healthCaseFinished(int, bool))); }