Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QT code to send data on Postman http Post request.
Lodhi.bhkr last edited by
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
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.