summaryrefslogtreecommitdiff
path: root/src/lib/auditor_api_deposit_confirmation.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-01-28 13:26:06 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-01-28 13:26:06 +0100
commit32a47928e94b77aaa8c0e47f0b0f395517e28780 (patch)
tree3fad61ac72d1aaaa961a2859eb7f55ce07dd43b7 /src/lib/auditor_api_deposit_confirmation.c
parente070e8f65dcaefc5cf5d1d1d894fcb91b91e0882 (diff)
downloadexchange-32a47928e94b77aaa8c0e47f0b0f395517e28780.tar.gz
exchange-32a47928e94b77aaa8c0e47f0b0f395517e28780.tar.bz2
exchange-32a47928e94b77aaa8c0e47f0b0f395517e28780.zip
Use PUT for /deposit-confirmation.
Diffstat (limited to 'src/lib/auditor_api_deposit_confirmation.c')
-rw-r--r--src/lib/auditor_api_deposit_confirmation.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/auditor_api_deposit_confirmation.c b/src/lib/auditor_api_deposit_confirmation.c
index 5d95ce31..8734b87b 100644
--- a/src/lib/auditor_api_deposit_confirmation.c
+++ b/src/lib/auditor_api_deposit_confirmation.c
@@ -343,6 +343,11 @@ TALER_AUDITOR_deposit_confirmation (struct TALER_AUDITOR_Handle *auditor,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"URL for deposit-confirmation: `%s'\n",
dh->url);
+
+ GNUNET_assert (CURLE_OK ==
+ curl_easy_setopt (eh,
+ CURLOPT_CUSTOMREQUEST,
+ "PUT"));
GNUNET_assert (CURLE_OK ==
curl_easy_setopt (eh,
CURLOPT_POSTFIELDS,