mirror of
https://github.com/BeamMP/BeamMP-Launcher.git
synced 2026-04-11 10:16:17 +00:00
Use a JSON body for requests instead of query params
This commit is contained in:
@@ -9,9 +9,9 @@
|
||||
#include <string>
|
||||
class HTTP {
|
||||
public:
|
||||
static bool Download(const std::string& IP, const std::string& Path);
|
||||
static bool Download(const std::string& IP, const std::string& Fields, const std::string& Path);
|
||||
static std::string Post(const std::string& IP, const std::string& Fields);
|
||||
static std::string Get(const std::string& IP);
|
||||
static std::string Get(const std::string& IP, const std::string& Fields = "");
|
||||
static bool ProgressBar(size_t c, size_t t);
|
||||
static void StartProxy();
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user