From fd463613f7fa3857191df889e8a06b7293c8a1b2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 3 Dec 2025 01:29:36 +0100 Subject: Allow handling of HTTP request body. --- src/lib/http_server.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/http_server.h') diff --git a/src/lib/http_server.h b/src/lib/http_server.h index ca4f498e4..b07ec47b1 100644 --- a/src/lib/http_server.h +++ b/src/lib/http_server.h @@ -82,9 +82,9 @@ public: private: void handle(std::shared_ptr socket) override; - Response request(std::vector const& request); + Response request(std::vector const& request, std::string const& body); Response get(std::string const& url); - Response post(std::string const& url); + Response post(std::string const& url, std::string const& body); boost::mutex _mutex; bool _playing = false; -- cgit v1.2.3