summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/taler-merchant-httpd.c')
-rw-r--r--src/backend/taler-merchant-httpd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd.c b/src/backend/taler-merchant-httpd.c
index d5bb87ed..9005b161 100644
--- a/src/backend/taler-merchant-httpd.c
+++ b/src/backend/taler-merchant-httpd.c
@@ -40,6 +40,8 @@
#include "taler-merchant-httpd_private-post-instances.h"
#include "taler-merchant-httpd_private-post-products.h"
#include "taler-merchant-httpd_private-post-products-ID-lock.h"
+#include "taler-merchant-httpd_private-post-orders.h"
+
/**
* Backlog for listen operation on unix-domain sockets.
@@ -796,6 +798,12 @@ url_handler (void *cls,
.have_id_segment = true,
.handler = &TMH_private_post_products_ID_lock
},
+ /* POST /orders: */
+ {
+ .url_prefix = "/orders",
+ .method = MHD_HTTP_METHOD_POST,
+ .handler = &TMH_private_post_orders
+ },
{
NULL
}