exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 32a47928e94b77aaa8c0e47f0b0f395517e28780
parent e070e8f65dcaefc5cf5d1d1d894fcb91b91e0882
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon, 28 Jan 2019 13:26:06 +0100

Use PUT for /deposit-confirmation.

Diffstat:
Msrc/lib/auditor_api_deposit_confirmation.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git 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,