mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Update README.md
This commit is contained in:
parent
ac5f2545c8
commit
41d4a0457c
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user