mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-31 00:15:55 -04:00
no more spaces for extra secret slots - closes #34
This commit is contained in:
Vendored
+4
-2
@@ -21,12 +21,14 @@ License: what's a license? we're a bunch of dirty pirates!
|
||||
|
||||
namespace webAPI
|
||||
{
|
||||
std::string simplePost(std::string endpoint, std::string data, std::string slotName);
|
||||
using namespace std;
|
||||
|
||||
string simplePost(string endpoint, string data, string slotName);
|
||||
//std::string simpleGet(char* endpoint, char* data);
|
||||
//nlohmann::json post(char* endpoint, char* data);
|
||||
//nlohmann::json get(char* endpoint, char* data);
|
||||
|
||||
nlohmann::json request(std::string endpoint, std::string data, int reqType); // 1 for post, 0 for get
|
||||
nlohmann::json request(string endpoint, string data, int reqType); // 1 for post, 0 for get
|
||||
size_t writeCallback(void *contents, size_t size, size_t nmemb, void *userp);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user