Skip to content
Snippets Groups Projects
Commit 2d02379c authored by Armin Felder's avatar Armin Felder
Browse files

fixes issue with restapi after change to allow unsecure connections

parent 21313443
No related branches found
No related tags found
1 merge request!57fixes issue with restapi after change to allow unsecure connections
......@@ -21,14 +21,14 @@
#include "restapi.h"
RestApi::RestApi( QObject *parent, const QString &pBaseUrl, const QString &pApiUri ) : QObject( parent ), mApiUri( pApiUri ), mBaseUrl( pBaseUrl )
RestApi::RestApi( QObject *parent, const QString &pBaseUrl, const QString &pApiUri ) : QObject( parent ), mApiUri( pBaseUrl + pApiUri ), mBaseUrl( pBaseUrl )
{
qRegisterMetaType<RestApiRequest>( "RestApiRequest" );
}
void RestApi::init()
{
mNam = new QNetworkAccessManager(this);
mNam = new QNetworkAccessManager( this );
mApiLogin = QStringLiteral( "/login" );
mApiLogoff = QStringLiteral( "/logout" );
mCookieJar = new QNetworkCookieJar;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment