Qt 6.11 is out! See what's new in the release
blog
Invoking An API
General and Desktop
2
Posts
2
Posters
614
Views
1
Watching
-
Hello,
Can someone point me in the direction(or an example) of how to invoke an API and parse the json it provides? I have searched but did not find any good examples.
Thanks in advance!
-
Hi,
You'll have to be more specific. Do you mean a REST API ? Then you have "QNetworkAccessManager":http://doc.qt.io/qt-5/qnetworkaccessmanager.html and "QJsonDocument":http://doc.qt.io/qt-5/qjsondocument.html