Update README.md

This commit is contained in:
ipkn 2015-02-25 19:43:48 +09:00
parent ac5f2545c8
commit 41d4a0457c

View File

@ -65,6 +65,7 @@ int main()
// more json example // more json example
CROW_ROUTE(app, "/add_json") CROW_ROUTE(app, "/add_json")
.methods("POST"_method)
([](const crow::request& req){ ([](const crow::request& req){
auto x = crow::json::load(req.body); auto x = crow::json::load(req.body);
if (!x) if (!x)