mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-06-10 16:47:14 +00:00
@@ -12,7 +12,7 @@ int main(void)
|
||||
{
|
||||
Server svr;
|
||||
|
||||
svr.get("/hi", [](const auto& /*req*/, auto& res) {
|
||||
svr.Get("/hi", [](const auto& /*req*/, auto& res) {
|
||||
res.set_content("Hello World!", "text/plain");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user