Files
src-1.2/external/3rd/library/webAPI/webAPIHeartbeat.cpp
T
2016-10-17 21:44:11 +00:00

18 lines
408 B
C++

//
// Created by Darth on 10/17/2016.
//
#include "webAPIHeartbeat.h"
using namespace StellaBellum;
webAPIHeartbeat::webAPIHeartbeat() {
webAPI handle = webAPI::webAPI(std::string(vxENCRYPT("https://login.stellabellum.net/metriccontroller/shoulderTap?type=server").decrypt()));
handle.addJsonData("ip", "test");
bool result = handle.submit(); // data is stored as a class member
// do stuff
};