How to contact a server url and retrieve the answer is a string
-
I want to take a url like http://nom_machine/pppp.php?code1=valeur1&code2=valeur2
Once I do that I receive a page with content true or false. That's what I want to get content.And if I do this:
@QNetworkAccessManager manager (this);QNetworkRequest request ("http://nom_machine/pppp.php?code1=valeur1&code2=valeur2");
QNetworkReply * reply = manager.get (request);reply-> readAll ();@
Will reply-> readAll () returns "true" or "false" value that is displayed on the page?