summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.c
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-10 01:44:32 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2020-06-10 01:44:32 -0400
commit26d5adb7e9ea120b356f40b444f410973c8a83d4 (patch)
tree179c5625ba76c1b5cae36031b7f13ede9ae0223d /src/backend/taler-merchant-httpd.c
parent7a9c8b206332c3500ffd733b79aa56b0ea01338a (diff)
downloadmerchant-26d5adb7e9ea120b356f40b444f410973c8a83d4.tar.gz
merchant-26d5adb7e9ea120b356f40b444f410973c8a83d4.tar.bz2
merchant-26d5adb7e9ea120b356f40b444f410973c8a83d4.zip
implementation of GET /private/tips
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r--src/backend/taler-merchant-httpd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index 9a71440a..a73feabc 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -43,6 +43,7 @@
#include "taler-merchant-httpd_private-get-reserves.h"
#include "taler-merchant-httpd_private-get-reserves-ID.h"
#include "taler-merchant-httpd_private-get-tips-ID.h"
+#include "taler-merchant-httpd_private-get-tips.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"
@@ -867,6 +868,12 @@ url_handler (void *cls,
.method = MHD_HTTP_METHOD_POST,
.handler = &TMH_private_post_tips
},
+ /* GET /tips: */
+ {
+ .url_prefix = "/tips",
+ .method = MHD_HTTP_METHOD_GET,
+ .handler = &TMH_private_get_tips
+ },
/* GET /reserves: */
{
.url_prefix = "/reserves",