aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.md b/README.md
index eeaeab7..c1fed5d 100644
--- a/README.md
+++ b/README.md
@@ -65,6 +65,7 @@ int main()
// more json example
CROW_ROUTE(app, "/add_json")
+ .methods("POST"_method)
([](const crow::request& req){
auto x = crow::json::load(req.body);
if (!x)