Obsolete Members for QAbstractOAuth2

The following members of class QAbstractOAuth2 are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(deprecated in 6.11) virtual QNetworkReply *post(const QUrl &url, QHttpMultiPart *multiPart)[see note below]
(deprecated in 6.11) virtual QNetworkReply *post(const QUrl &url, const QByteArray &data)[see note below]
(deprecated in 6.11) virtual QNetworkReply *put(const QUrl &url, QHttpMultiPart *multiPart)[see note below]
(deprecated in 6.11) virtual QNetworkReply *put(const QUrl &url, const QByteArray &data)[see note below]

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

Member Function Documentation

[override virtual invokable, deprecated in 6.11] QNetworkReply *QAbstractOAuth2::deleteResource(const QUrl &url, const QVariantMap &parameters = QVariantMap())

This function is deprecated since 6.11. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::deleteResource(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated DELETE request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: DELETE

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[override virtual invokable, deprecated in 6.11] QNetworkReply *QAbstractOAuth2::get(const QUrl &url, const QVariantMap &parameters = QVariantMap())

This function is deprecated since 6.11. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::get(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated GET request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: GET

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

This function is deprecated since 6.11. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::head(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated HEAD request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: HEAD

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[override virtual invokable, deprecated in 6.11] QNetworkReply *QAbstractOAuth2::post(const QUrl &url, const QVariantMap &parameters = QVariantMap())

This function is deprecated since 6.11. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::post(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated POST request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: POST

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[virtual invokable, deprecated in 6.11] QNetworkReply *QAbstractOAuth2::post(const QUrl &url, QHttpMultiPart *multiPart)

This function is deprecated since 6.11. We strongly advise against using it in new code.

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated POST request and returns a new QNetworkReply. The url and multiPart are used to create the request.

{Hypertext Transfer Protocol – HTTP/1.1: POST}

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

This is an overloaded function.

See also post(), QHttpMultiPart, and https://tools.ietf.org/html/rfc2616#section-9.6.

[virtual invokable, deprecated in 6.11] QNetworkReply *QAbstractOAuth2::post(const QUrl &url, const QByteArray &data)

This function is deprecated since 6.11. We strongly advise against using it in new code.

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated POST request and returns a new QNetworkReply. The url and data are used to create the request.

{Hypertext Transfer Protocol – HTTP/1.1: POST}

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

This is an overloaded function.

See also post() and https://tools.ietf.org/html/rfc2616#section-9.6.

[override virtual invokable, deprecated in 6.11] QNetworkReply *QAbstractOAuth2::put(const QUrl &url, const QVariantMap &parameters = QVariantMap())

This function is deprecated since 6.11. We strongly advise against using it in new code.

Reimplements: QAbstractOAuth::put(const QUrl &url, const QVariantMap &parameters).

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated PUT request and returns a new QNetworkReply. The url and parameters are used to create the request.

See also: Hypertext Transfer Protocol – HTTP/1.1: PUT

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

[virtual invokable, deprecated in 6.11] QNetworkReply *QAbstractOAuth2::put(const QUrl &url, QHttpMultiPart *multiPart)

This function is deprecated since 6.11. We strongly advise against using it in new code.

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated PUT request and returns a new QNetworkReply. The url and multiPart are used to create the request.

{Hypertext Transfer Protocol – HTTP/1.1: PUT}

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

This is an overloaded function.

See also put(), QHttpMultiPart, and https://tools.ietf.org/html/rfc2616#section-9.6.

[virtual invokable, deprecated in 6.11] QNetworkReply *QAbstractOAuth2::put(const QUrl &url, const QByteArray &data)

This function is deprecated since 6.11. We strongly advise against using it in new code.

Please use QtNetwork classes directly instead, see HTTP method alternatives.

Sends an authenticated PUT request and returns a new QNetworkReply. The url and data are used to create the request.

{Hypertext Transfer Protocol – HTTP/1.1: PUT}

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

This is an overloaded function.

See also put() and https://tools.ietf.org/html/rfc2616#section-9.6.

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.