Use PUT for /deposit-confirmation.

This commit is contained in:
Marcello Stanisci 2019-01-28 13:26:06 +01:00
parent e070e8f65d
commit 32a47928e9
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -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,