// SPDX-FileCopyrightText: 2023 Yury Gubich // SPDX-License-Identifier: GPL-3.0-or-later #pragma once #include "post.h" namespace Request { class Register : public Post { Q_OBJECT public: Register (const QString& login, const QString& password, const QUrl& baseUrl); protected: void onSuccess (const QVariantMap& data) override; void onError (const QString& error, const std::optional& data) override; }; }