title: QT Get request parsing JSON
body: <p>I'm trying to make a <code>GET request</code> in order to authenticate a user. Here is my code to do that:</p>
  
  <pre><code>void MainWindow::on_loginButton_clicked()
  {
      QString email = "test";
      QString password = "test";
  
      nam = new QNetworkAccessManager(this);
      QObject::connect(nam, SIGNAL(finished(QNetworkReply*)),
               this, SLOT(serviceRequestFinished(QNetworkReply*)));
  
      QUrl url("http://url.com/api.php?action=authenticate_user&amp;email=" + email + "&amp;password" + password);
      QNetworkReply* reply = nam-&gt;get(QNetworkRequest(url));
  }
  
  void MainWindow::serviceRequestFinished(QNetworkReply* reply)
  {
      if(reply-&gt;error() == QNetworkReply::NoError) {
  
          QStringList propertyNames;
          QStringList propertyKeys;
  
          QString strReply = (QString)reply-&gt;readAll();
  
          qDebug() &lt;&lt; strReply;
  
          QJsonDocument jsonResponse = QJsonDocument::fromJson(strReply.toUtf8());
  
          QJsonObject jsonObject = jsonResponse.object();
  
          QJsonArray jsonArray = jsonObject["status"].toArray();
  
          qDebug() &lt;&lt; jsonObject["status"].toString();
  
          foreach (const QJsonValue &amp; value, jsonArray)
          {
              QJsonObject obj = value.toObject();
              qDebug() &lt;&lt; value.toString();
          }
  
      } else {
          qDebug() &lt;&lt; "ERROR";
      }
  
      delete reply;
  }
  </code></pre>
  
  <p>But for some reason <code>qDebug() &lt;&lt; strReply;</code> just outputs:</p>
  
  <pre><code>""Missing argument"" 
  </code></pre>