commit e6416af002c426ef723b5726a43e98979dcac492
parent 0ef44fd27cd3f80cb42d57d4c70c01845f651471
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Mon, 3 Oct 2016 18:28:31 +0200
calling /history handler upong request
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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 =