Qt 5.11 | Qt QML | Qt Quick Examples - XMLHttpRequest

Qt 5.11.3 Reference Documentation

# Qt Quick Examples - XMLHttpRequest

This is a collection of XMLHttpRequest examples.

XMLHttpRequest contains a small QML example demonstrating Qt QML's XMLHTTPRequest functionality. For more information, visit the section about XMLHttpRequest.

## Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

## Get Data

Get data uses the XMLHttpRequest API to fetch an XML document from a server. It displays the header of the HTTP response and the body of the XML document.

Files:

- xmlhttprequest/Get.qml
- xmlhttprequest/GetForm.ui.qml
- xmlhttprequest/data.xml
- xmlhttprequest/main.cpp
- xmlhttprequest/methods.js
- xmlhttprequest/xmlhttprequest.pro
- xmlhttprequest/xmlhttprequest.qml
- xmlhttprequest/xmlhttprequest.qmlproject
- xmlhttprequest/xmlhttprequest.qrc