Results 1 to 4 of 4

Thread: Need to send multiple queries in one post method

  1. #1
    Join Date
    Jun 2018
    Posts
    10
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11

    Default Need to send multiple queries in one post method

    Hello,

    I am using QNetworkAccessManager to communicate with board.

    Sending request qurl in post method.

    I just need to send multiple queries in one post method call.

    Need to send request to the board one time and get multiple values.

    I have done for one query but unable to do it for muliple tuples at a time.

    please guide me for the same.

    Thanks in advance.

  2. #2
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,410
    Thanked 256 Times in 251 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Need to send multiple queries in one post method

    I think the QNetworkAccessManager has nothing to do with it. The question is whether your protocol allows for such a thing?

  3. #3
    Join Date
    Jun 2018
    Posts
    10
    Thanks
    2
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: Need to send multiple queries in one post method

    Yes it supports.

    I am using http protocol.

    I just want to send multiple queries at a time so I can get bunch of data at a one request.

  4. #4
    Join Date
    Mar 2008
    Location
    Kraków, Poland
    Posts
    1,410
    Thanked 256 Times in 251 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Need to send multiple queries in one post method

    What does it mean "unable to do it for multiple tables at a time" ?
    When writing the protocol, I meant a layer higher than http.

Similar Threads

  1. Send JSON & Key via HTTP POST
    By Poonarge in forum Newbie
    Replies: 3
    Last Post: 21st August 2014, 09:13
  2. Execute sql queries on multiple databases
    By Cyrebo in forum Qt Programming
    Replies: 4
    Last Post: 22nd April 2013, 21:32
  3. Replies: 1
    Last Post: 12th April 2013, 19:46
  4. Multiple Queries populating QSqlQueryModel
    By hollyberry in forum Newbie
    Replies: 1
    Last Post: 24th April 2012, 01:36
  5. Multiple sql queries
    By fantom in forum Qt Programming
    Replies: 3
    Last Post: 28th February 2011, 17:00

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.