|
|
@ -68,11 +68,9 @@ _post_kvs(const httplib::Request &req_, |
|
|
|
|
|
|
|
|
for(const auto &[key,val] : j.items()) |
|
|
for(const auto &[key,val] : j.items()) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
std::cout << "Updated " << key << " to " << value << std::endl; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
std::cout << "Updated " << key << " to " << value << std::endl; |
|
|
|
|
|
|
|
|
|
|
|
res_.set_content("{}", "application/json"); |
|
|
res_.set_content("{}", "application/json"); |
|
|
} |
|
|
} |
|
|
catch (const std::exception& e) |
|
|
catch (const std::exception& e) |
|
|
|