mirror of
https://github.com/SantaSpeen/BeamMP-Server.git
synced 2026-04-04 19:16:02 +00:00
remove curl submodule, add it as an external dependency
This commit is contained in:
@@ -123,6 +123,11 @@ std::string Http::POST(const std::string& host, const std::string& target, const
|
||||
beast::flat_buffer buffer;
|
||||
http::response<http::string_body> response;
|
||||
|
||||
auto BackendName = response.base().find("Date");
|
||||
if (BackendName != response.base().end()) {
|
||||
Application::Console().Write("HTTP POST: Date is " + std::string(BackendName->value()));
|
||||
}
|
||||
|
||||
http::read(stream, buffer, response);
|
||||
|
||||
std::stringstream result;
|
||||
|
||||
Reference in New Issue
Block a user