Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Using QWebEngineUrlRequestInterceptor to get AJAX POST data?
Forum Updated to NodeBB v4.3 + New Features

Using QWebEngineUrlRequestInterceptor to get AJAX POST data?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
1 Posts 1 Posters 1.1k Views 3 Watching
  • 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.
  • V Offline
    V Offline
    VernJensen
    wrote on 17 Feb 2016, 04:36 last edited by
    #1

    I'd like to intercept POST requests made by JavaScript, read the POST data, and send a reply. Formerly with QWebKit, I used QNetworkAccessManager to do this.

    With Qt 5.6, I had been hoping to use QWebEngineUrlRequestInterceptor to do the same.

    However, I don't see any way to read the POST data. It gives me other information about there request just fine (such as the URL). Any idea how I can get the POST data?

    1 Reply Last reply
    0

    1/1

    17 Feb 2016, 04:36

    • Login

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