diff --git a/main.cpp b/main.cpp index b708e57..2f4e077 100644 --- a/main.cpp +++ b/main.cpp @@ -216,8 +216,11 @@ int main(int ac, const char* av[]) { CROW_ROUTE(app, "/checkandpush").methods("POST"_method) ([&](const crow::request& req) { - string rawtxdata = string(req.url_params.get("rawtxdata")); - cout << rawtxdata << endl; + //string rawtxdata = string(req.post().get("rawtxdata")); + //crow::query_string post_data = crow::query_string(req.body); + //cout << post_data.get("rawtxdata") << endl; + cout << req.body << endl; + return xmrblocks.show_checkandpushtx(); }); diff --git a/src/templates/footer.html b/src/templates/footer.html index 13a65fd..3cdbf4f 100644 --- a/src/templates/footer.html +++ b/src/templates/footer.html @@ -3,7 +3,7 @@ source code