implement GetOSName, start working on HttpsPOST

This commit is contained in:
Lion Kortlepel committed 2021-08-02 14:01:00 +02:00
1 parent a865c95e2a
commit cc88734279
6 files changed
+113 -35

No files matched your search

+2 -2
View File
@@ -5,5 +5,5 @@
namespace Http {
std::string GET(const std::string& host, int port, const std::string& target);
std::string POST(const std::string& host, const std::string& target, const std::unordered_map<std::string, std::string>& fields, const std::string& body, bool json);
}
std::string POST(const std::string& host, const std::string& target, const std::unordered_map<std::string, std::string>& fields, const std::string& body, const std::string& ContentType);
}