On Monday, February 20, 2017 04:24:10 PM Juhani Matilainen wrote: > Hello, > > Qt 5.8 contains new QtNetwork Auth module (as a technology preview). I > successfully login to Google and get a data from Google Drive. But I haven’t > figured out how to use post() -function. There is no QByteArray or > QHttpMultiPart arguments but only QVariantMap. How I can send data with > QOAuth2AuthorizationCodeFlow? > > QNetworkReply *QOAuth2AuthorizationCodeFlow::post(const QUrl &url, const > QVariantMap ¶meters = QVariantMap()) > > Regards, > Juhani > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest
Hello Juhani, You should use the parameters argument to send the parameters you want. Internally it will converted to a QByteArray. -- Best regards, Jesus _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest