C++ (Qt)QNetworkReply* reply = nam->post(QNetworkRequest(url),data);
C++ (Qt)QNetworkReply::isFinished()
C++ (Qt) QEventLoop * loop = new QEventLoop(this); connect( manager, SIGNAL(finished(QNetworkReply*)), loop, SLOT(quit()) ); QNetworkReply *reply; if ( httpMethod == GET ) { reply = manager->get( request ); } else if ( httpMethod == POST ) { reply = manager->post( request, authorizationHeader ); } // start the event loop and wait for the response loop->exec();
C++ (Qt)QNetworkReply *reply