|
|
|
@ -71,7 +71,7 @@ public:
|
|
|
|
|
|
|
|
|
|
std::optional<std::string> api_get(const std::string& endpoint = "", const std::map<std::string, std::string>& params = {}) const;
|
|
|
|
|
std::optional<std::string> api_post(const std::string& endpoint = "",
|
|
|
|
|
const std::map<std::string, std::string>& params,
|
|
|
|
|
const std::map<std::string, std::string>& params = {},
|
|
|
|
|
bool build_endpoint = true,
|
|
|
|
|
const std::string& token_secret_override = "");
|
|
|
|
|
std::optional<std::string> api_patch(const std::string& endpoint = "", const nlohmann::json& data);
|
|
|
|
|