Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT code to send data on Postman http Post request.

QT code to send data on Postman http Post request.

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 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.
  • L Offline
    L Offline
    Lodhi.bhkr
    wrote on 31 Oct 2020, 09:35 last edited by
    #1

    hi i am new to qt qml , i need an example which will help me out to interact two qt applications through json post and response to send and receive data.
    Example to send data would be able to send json request to rest api . LINK : https://www.baeldung.com/spring-resttemplate-post-json
    Example to receive data would be able to handle post json request. and give response. : LINK : https://www.baeldung.com/spring-response-entity

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 31 Oct 2020, 16:42 last edited by
      #2

      You can send and receive REST requests using QNetworkAccessManager. You can create and parse JSON documents using QJsonDocument, QJsonObject and QJsonArray classes.

      If you need something a bit more high-level, you can take a look at MRestApi.

      (Z(:^

      1 Reply Last reply
      3

      2/2

      31 Oct 2020, 16:42

      • Login

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