aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-04-17 18:28:17 +0200
committerChristian Grothoff <christian@grothoff.org>2015-04-17 18:28:17 +0200
commitc90e479ea5dcb5c994d765110fa01e88fced7e12 (patch)
tree990d5a7c781de504e19f493cf23215dd642fb982 /src/mint/taler-mint-httpd.c
parent6cb072ec5f67c55ed624d46b427112fd5945f7f6 (diff)
implementing /test/base32
Diffstat (limited to 'src/mint/taler-mint-httpd.c')
-rw-r--r--src/mint/taler-mint-httpd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c
index caddd6130..b72db4768 100644
--- a/src/mint/taler-mint-httpd.c
+++ b/src/mint/taler-mint-httpd.c
@@ -203,6 +203,13 @@ handle_mhd_request (void *cls,
{ "/test", NULL, "text/plain",
"Only POST is allowed", 0,
&TMH_MHD_handler_send_json_pack_error, MHD_HTTP_METHOD_NOT_ALLOWED },
+
+ { "/test/base32", MHD_HTTP_METHOD_POST, "application/json",
+ NULL, 0,
+ &TMH_TEST_handler_test_base32, MHD_HTTP_OK },
+ { "/test/base32", 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 }