From abe779ab7f8eee576f2c8e8acbf34a505d9bc6bf Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 19 Apr 2015 00:14:20 +0200 Subject: implementing /test/transfer --- src/mint/taler-mint-httpd.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mint/taler-mint-httpd.c') diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c index 392e8729..d7e2c353 100644 --- a/src/mint/taler-mint-httpd.c +++ b/src/mint/taler-mint-httpd.c @@ -252,6 +252,13 @@ handle_mhd_request (void *cls, { "/test/rsa", NULL, "text/plain", "Only POST is allowed", 0, &TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED }, + + { "/test/transfer", MHD_HTTP_METHOD_POST, "application/json", + NULL, 0, + &TMH_TEST_handler_test_transfer, MHD_HTTP_OK }, + { "/test/transfer", NULL, "text/plain", + "Only POST is allowed", 0, + &TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED }, #endif { NULL, NULL, NULL, NULL, 0, 0 } -- cgit v1.2.3