Results 1 to 5 of 5

Thread: Interception of GET requests to the server

  1. #1
    Join Date
    Sep 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Exclamation Interception of GET requests to the server

    Good day friends.
    I looked through the documentation and have not yet realized in which direction to look.
    The problem is - all requests for a particular port type http://server.local:2222/index.php?id=12&text=123123 - need to fix that is easy for example to display in the window (id = 12 and text = 123,123).
    Which class / method can do this?

    Translated by Google

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Interception of GET requests to the server

    I have no idea what you want.

    For network acces use the QNetworkAccessManager and related classes
    For chaning the data, use a QLineEdit.

    Did you mean something else?

  3. #3
    Join Date
    Sep 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Interception of GET requests to the server

    Thank you! Question - Is the class methods 'QNetworkAccessManager' can receive get requests addressed to the server (localhost)?

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Interception of GET requests to the server

    If you want to create a server, see QTcpServer.

    If you want to create a proxy, see this example:
    http://www.qtcentre.org/threads/34082-NetworqDebugger

  5. #5
    Join Date
    Sep 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Interception of GET requests to the server

    And how to use it to get GET data sent from the server?
    From the documentation looking for is not found: (.

Similar Threads

  1. Tracking multiple requests with QNetwork
    By rbp in forum Qt Programming
    Replies: 4
    Last Post: 1st June 2010, 08:04
  2. Amazon Product Advertising API - Signed requests
    By youkai in forum General Programming
    Replies: 2
    Last Post: 13th July 2009, 11:39
  3. QTcpServer as a HTTPServer + POST Requests
    By NoRulez in forum Qt Programming
    Replies: 2
    Last Post: 27th May 2008, 17:49
  4. QHttp delaying requests
    By etru1927 in forum Qt Programming
    Replies: 8
    Last Post: 29th April 2008, 21:52
  5. [DevQt] New versions, feature requests and bug reports
    By fullmetalcoder in forum Qt-based Software
    Replies: 103
    Last Post: 15th May 2006, 09:54

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.