Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for WebAssembly
  4. QNetworkAccessManager (HTTPS-Request)
QtWS25 Last Chance

QNetworkAccessManager (HTTPS-Request)

Scheduled Pinned Locked Moved Solved Qt for WebAssembly
4 Posts 3 Posters 701 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.
  • David_001D Offline
    David_001D Offline
    David_001
    wrote on last edited by
    #1

    Hello all.

    I would like to make a web request with the QNetworkAccessManager on a web interface that only offers secure HTTP. I am aware that Qt 5.15 web assembly does not offer this, due to the missing SSL support.

    So now the question is. Can't this be done in QML by JavaScript and return me the JasonObject in the C++ code? I have already tested it. However, it doesn't seem to work here either. Am I right here or am I doing something wrong?

    1 Reply Last reply
    0
    • lorn.potterL Offline
      lorn.potterL Offline
      lorn.potter
      wrote on last edited by
      #2

      Actually, it has built in https support, via wss://. Just specify the url as https:// as you would.

      You just cannot specify which cypher to use.

      Freelance Software Engineer, Platform Maintainer QtWebAssembly, Maintainer QtSensors
      Author, Hands-On Mobile and Embedded Development with Qt 5 http://bit.ly/HandsOnMobileEmbedded

      1 Reply Last reply
      2
      • David_001D Offline
        David_001D Offline
        David_001
        wrote on last edited by David_001
        #3

        Thanks, HTTPS interfaces can be used without any problems. Unfortunately, I had a thinking mistake here. Thanks Lorn

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mmki30
          Banned
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0

          • Login

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