needs QA/TEST before even seeing TC - implement login based on returned username from web api

This commit is contained in:
DarthArgus
2016-08-04 21:36:55 +00:00
parent 37e50708b7
commit 91cd9b60ec
4 changed files with 31 additions and 56 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ namespace webAPI
{
using namespace std;
string simplePost(const string &endpoint, const string &data, const string &slotName);
string simplePost(const string &endpoint, const string &data, const string &slotName, const string &messageSlot);
nlohmann::json request(const string &endpoint, const string &data, const int &reqType); // 1 for post, 0 for get
size_t writeCallback(void *contents, size_t size, size_t nmemb, void *userp);
};