From a5da6d3cec3b090c5aa21255eed37fc7a3ca48ec Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 10 May 2020 20:06:36 +0200 Subject: GET /transfers implementation --- src/backend/taler-merchant-httpd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/backend/taler-merchant-httpd.c') diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c index c5dbacd2..e3640112 100644 --- a/src/backend/taler-merchant-httpd.c +++ b/src/backend/taler-merchant-httpd.c @@ -38,6 +38,7 @@ #include "taler-merchant-httpd_private-get-products-ID.h" #include "taler-merchant-httpd_private-get-orders.h" // #include "taler-merchant-httpd_private-get-orders-ID.h" +#include "taler-merchant-httpd_private-get-transfers.h" #include "taler-merchant-httpd_private-patch-instances-ID.h" #include "taler-merchant-httpd_private-patch-products-ID.h" #include "taler-merchant-httpd_private-post-instances.h" @@ -838,6 +839,12 @@ url_handler (void *cls, .method = MHD_HTTP_METHOD_POST, .handler = &TMH_private_post_transfers }, + /* GET /transfers: */ + { + .url_prefix = "/transfers", + .method = MHD_HTTP_METHOD_GET, + .handler = &TMH_private_get_transfers + }, { NULL } -- cgit v1.2.3