Check out the "HTTP Client" example.

on the QNetworkReply::finished signal call reply->readAll() if the data is human readable you can do something like
Qt Code:
  1. QString replyString;
  2. if (reply->isReadable())
  3. {
  4. replyString = QString::fromUtf8(reply->readAll().data());
  5. }
To copy to clipboard, switch view to plain text mode