diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-03 18:28:31 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-10-03 18:28:31 +0200 |
commit | e6416af002c426ef723b5726a43e98979dcac492 (patch) | |
tree | 16f587035795b6a8ed03d1592f4f61b9c84c0fc6 | |
parent | 0ef44fd27cd3f80cb42d57d4c70c01845f651471 (diff) | |
download | merchant-e6416af002c426ef723b5726a43e98979dcac492.tar.gz merchant-e6416af002c426ef723b5726a43e98979dcac492.tar.bz2 merchant-e6416af002c426ef723b5726a43e98979dcac492.zip |
calling /history handler upong request
-rw-r--r-- | src/backend/taler-merchant-httpd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index 644e973c..f15da504 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -188,7 +188,9 @@ url_handler (void *cls, { "/track/transaction", NULL, "text/plain", "Only GET is allowed", 0, &TMH_MHD_handler_static_response, MHD_HTTP_OK}, - + { "/history", MHD_HTTP_METHOD_GET, "text/plain", + "Only GET is allowed", 0, + &MH_handler_history, MHD_HTTP_OK}, {NULL, NULL, NULL, NULL, 0, 0 } }; static struct TMH_RequestHandler h404 = |