Skip to content

Latest commit

 

History

History
 
 

httptest

HTTP Post and Get

This sample shows how to use HTTP Post and Get to communicate with a remote server.

What you will learn from this sample:

  • -- How to use QSettings to store and retrieve settings for your App
  • -- How to use QNetworkAccessManager to make a network request
  • -- How to set Http headers for your request
  • -- How to read the headers in an http response
  • -- How to setup a secure connection with QSslConfiguration
  • -- How to read a network response with QNetworkReply
  • -- How to parse JSON data using JsonDataAccess
  • -- Register C++ classes for use in QML documents