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 Receiving jpg image from rest api post
Forum Updated to NodeBB v4.3 + New Features

How to Receiving jpg image from rest api post

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 3 Posters 1.1k Views 2 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.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on last edited by
    #1

    Hi,

    I couldnt find an example for the rest server in Qt5.12.

    I want to receive jpg image files as rest post. and want to convert in Qt and send back as a response.

    any simple :) example ?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      What about
      https://forum.qt.io/topic/41529/solved-qnetworkaccessmanager-upload-image-to-webservice

      1 Reply Last reply
      1
      • R Offline
        R Offline
        RahibeMeryem
        wrote on last edited by
        #3

        @mrjj

        I need a rest server in Qt which receive image and process and send back.

        Best

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Take a look at the Cutelyst project.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • R Offline
            R Offline
            RahibeMeryem
            wrote on last edited by
            #5

            @SGaist

            its asking Qt 5.6 looks outdated. ? I compiled with 5.11 but looks complicated for me :)

            isn't there any simple example that I can receive rest Post in Qt ? Actually I am surprised that Qt hasn't such functionality ready :)

            am I exaggerating?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              No, it's stating that the minimal version of Qt to use is 5.6, so no problem with using the latest and greatest.

              Qt now has a module for that. See this blog post. Note that it is not the same concept as Cutelyst.

              Do you mean providing an alternative to systems like Apache, Nginx and the likes ?

              It's a need that only appeared "recently". Usually web backend are developed using frameworks like Django, Flask, PHP, node.js etc.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              1

              • Login

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