mirror of
https://gitlab.com/niansa/qcommsy.git
synced 2025-03-06 20:53:33 +01:00
Updated structures again
This commit is contained in:
parent
702d79d9e6
commit
79af814a2b
2 changed files with 3 additions and 1 deletions
|
@ -47,6 +47,7 @@ public:
|
|||
//mNetReq->setTransferTimeout(15000);
|
||||
mNetReq->setUrl(serverBaseUrl);
|
||||
mNetReq->setAttribute(QNetworkRequest::FollowRedirectsAttribute, true);
|
||||
std::cout << mNetReq->url().toString().toStdString() << std::endl;
|
||||
mNetManTestconn->get(*mNetReq);
|
||||
}
|
||||
|
||||
|
@ -66,6 +67,7 @@ public:
|
|||
mNetReq->setHeader(QNetworkRequest::ContentTypeHeader, "application/x-www-form-urlencoded");
|
||||
|
||||
// Perform the request
|
||||
std::cout << mNetReq->url().toString().toStdString() << std::endl;
|
||||
mNetManAuth->post(*mNetReq, mNetQuery.toString(QUrl::FullyEncoded).toUtf8());
|
||||
}
|
||||
|
||||
|
|
2
login.ui
2
login.ui
|
@ -49,7 +49,7 @@
|
|||
<set>Qt::ImhNoAutoUppercase|Qt::ImhNoPredictiveText|Qt::ImhPreferLowercase|Qt::ImhUrlCharactersOnly</set>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>http://localhost:1234</string>
|
||||
<string>https://unterricht.sh.schulcommsy.de/</string>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Server Adresse</string>
|
||||
|
|
Loading…
Add table
Reference in a new issue