From e6416af002c426ef723b5726a43e98979dcac492 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Mon, 3 Oct 2016 18:28:31 +0200 Subject: calling /history handler upong request --- src/backend/taler-merchant-httpd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = -- cgit v1.2.3