Auth token is stored in settings and deleted if a request is not authorized (with automatic re-login). Failed request need to be resend.
This commit is contained in:
@ -7,6 +7,8 @@
|
||||
|
||||
static const QString apiPrefix = "/api/";
|
||||
|
||||
static const QString ROUTE_LOG_IN = apiPrefix + "log_in";
|
||||
|
||||
static const QString ROUTE_ITEMS = apiPrefix + "items";
|
||||
|
||||
#endif // APIROUTES_H
|
||||
|
||||
Reference in New Issue
Block a user