Results 1 to 2 of 2

Thread: QNetworkReply - Post parameters, where are they?

  1. #1

    Default QNetworkReply - Post parameters, where are they?

    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?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QNetworkReply - Post parameters, where are they?

    POST parameters are sent in the body of the request. They won't be available in QNetworkReply.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Subclassing QNetworkReply
    By piotr.dobrogost in forum Qt Programming
    Replies: 6
    Last Post: 19th December 2010, 08:42
  2. Cannot get QNetworkCookie from QNetworkReply
    By MorrisLiang in forum Newbie
    Replies: 1
    Last Post: 25th May 2010, 16:59
  3. Replies: 6
    Last Post: 25th May 2010, 10:42
  4. QNetworkReply::HostNotFoundError
    By timmu in forum Qt Programming
    Replies: 1
    Last Post: 25th August 2009, 10:58
  5. When to delete QNetworkReply?
    By QPlace in forum Qt Programming
    Replies: 5
    Last Post: 11th February 2009, 12:46

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.