diff --git a/src/mergerfs_webui.cpp b/src/mergerfs_webui.cpp index f0fd1d6a..ad7edd21 100644 --- a/src/mergerfs_webui.cpp +++ b/src/mergerfs_webui.cpp @@ -57,6 +57,14 @@ _serve_kvs(const httplib::Request &req_, "application/json"); } +static +void +_post_kvs(const httplib::Request &req_, + httplib::Response &res_) +{ + +} + int mergerfs::webui::main(const int argc_, char **argv_) @@ -71,7 +79,8 @@ mergerfs::webui::main(const int argc_, http_server.Get("/",::_serve_root); http_server.Get("/mounts",::_serve_mounts); http_server.Get("/kvs",::_serve_kvs); - http_server.Post("/kvs", [&](const Request& req, Response& res) { + http_server.Post("/kvs", [&](const Request& req, Response& res) + { try { auto j = json::parse(req.body); std::string key = j["key"];