mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Fix code formatting.
This commit is contained in:
parent
befdcd34de
commit
628361b6f7
@ -81,8 +81,7 @@ int main()
|
|||||||
|
|
||||||
// more json example
|
// more json example
|
||||||
CROW_ROUTE(app, "/add_json")
|
CROW_ROUTE(app, "/add_json")
|
||||||
.methods("POST"_method)
|
.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)
|
||||||
return crow::response(400);
|
return crow::response(400);
|
||||||
|
Loading…
Reference in New Issue
Block a user