Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to debug HTTP requests?
Forum Update on Monday, May 27th 2025

How to debug HTTP requests?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rmam
    wrote on 15 Jan 2018, 18:10 last edited by
    #1

    I'm using Qt's networking components to send a series of HTTP Post requests, and now I would like to debug how these requests are being sent. What's the best way to debug HTTP requests made by using Qt's networking module?

    K 1 Reply Last reply 15 Jan 2018, 19:33
    0
    • R rmam
      15 Jan 2018, 18:10

      I'm using Qt's networking components to send a series of HTTP Post requests, and now I would like to debug how these requests are being sent. What's the best way to debug HTTP requests made by using Qt's networking module?

      K Offline
      K Offline
      koahnig
      wrote on 15 Jan 2018, 19:33 last edited by
      #2

      @rmam

      There is a possibility to use https://requestb.in/ to test http posting

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      4
      • R Offline
        R Offline
        rmam
        wrote on 16 Jan 2018, 10:21 last edited by
        #3

        @koahnig thanks for the tip. I've just tried out the service and it everything went well. Do you know if it offers a feature to download a complete raw request as a text file?

        Still, it would be preferable if Qt's networking module offered a way to extract the raw HTTP request. As far as I can tell, the closest thing that it offers is the possibility to extract the raw header with calls to QNetworkRequest::rawHeader().

        K 1 Reply Last reply 16 Jan 2018, 11:24
        0
        • R rmam
          16 Jan 2018, 10:21

          @koahnig thanks for the tip. I've just tried out the service and it everything went well. Do you know if it offers a feature to download a complete raw request as a text file?

          Still, it would be preferable if Qt's networking module offered a way to extract the raw HTTP request. As far as I can tell, the closest thing that it offers is the possibility to extract the raw header with calls to QNetworkRequest::rawHeader().

          K Offline
          K Offline
          koahnig
          wrote on 16 Jan 2018, 11:24 last edited by
          #4

          @rmam

          Frankly I do not know. I was made aware of the site a couple of month' back, when I faced a similar issue. Plain screenshot of the replies were sufficient in my case.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0

          4/4

          16 Jan 2018, 11:24

          • Login

          • Login or register to search.
          4 out of 4
          • First post
            4/4
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved