PDA

View Full Version : QNetworkReply - Post parameters, where are they?



seink
12th January 2011, 14:02
Hello!
I need to get the POST parameters sent through a QNetworkRequest.
I tried using the finishedRequest signal and getting it through reply->request().url().queryItems(), but those seem to be only the GET parameters. So where can I get the POST ones?

wysota
12th January 2011, 21:11
POST parameters are sent in the body of the request. They won't be available in QNetworkReply.