diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2019-01-28 13:26:06 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2019-01-28 13:26:06 +0100 |
commit | 32a47928e94b77aaa8c0e47f0b0f395517e28780 (patch) | |
tree | 3fad61ac72d1aaaa961a2859eb7f55ce07dd43b7 /src | |
parent | e070e8f65dcaefc5cf5d1d1d894fcb91b91e0882 (diff) |
Use PUT for /deposit-confirmation.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/auditor_api_deposit_confirmation.c | 5 |
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 5d95ce316..8734b87b5 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, |