|
|
@ -217,7 +217,7 @@ int main(int ac, const char* av[]) {
|
|
|
|
CROW_ROUTE(app, "/checkandpush").methods("POST"_method)
|
|
|
|
CROW_ROUTE(app, "/checkandpush").methods("POST"_method)
|
|
|
|
([&](const crow::request& req) {
|
|
|
|
([&](const crow::request& req) {
|
|
|
|
//string rawtxdata = string(req.post().get("rawtxdata"));
|
|
|
|
//string rawtxdata = string(req.post().get("rawtxdata"));
|
|
|
|
//crow::query_string post_data = crow::query_string(req.body);
|
|
|
|
//crow::query_string post_data = crow::query_string(string("?#")+req.body);
|
|
|
|
//cout << post_data.get("rawtxdata") << endl;
|
|
|
|
//cout << post_data.get("rawtxdata") << endl;
|
|
|
|
cout << req.body << endl;
|
|
|
|
cout << req.body << endl;
|
|
|
|
|
|
|
|
|
|
|
|