diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-04-19 00:14:20 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-04-19 00:14:20 +0200 |
commit | abe779ab7f8eee576f2c8e8acbf34a505d9bc6bf (patch) | |
tree | 9f84b9f0143bb18500334d786ef8e53e808ddf78 /src/mint/taler-mint-httpd.c | |
parent | e226e5c350a84ff2a04ed183e5bde4fae6d11489 (diff) |
implementing /test/transfer
Diffstat (limited to 'src/mint/taler-mint-httpd.c')
-rw-r--r-- | src/mint/taler-mint-httpd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mint/taler-mint-httpd.c b/src/mint/taler-mint-httpd.c index 392e87299..d7e2c353a 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 } |