implement SSL POST

This commit is contained in:
Lion Kortlepel
2021-01-14 00:17:47 +01:00
parent c75acbff76
commit f6121704df
5 changed files with 86 additions and 50 deletions

View File

@@ -7,5 +7,6 @@
///
#pragma once
#include <string>
#include <unordered_map>
std::string HttpRequest(const std::string& host, int port, const std::string& target);
std::string PostHTTP(const std::string& host, int port, const std::string& target, const std::string& Fields, bool json);
std::string PostHTTP(const std::string& host, const std::string& target, const std::unordered_map<std::string, std::string>& fields, const std::string& body, bool json);