diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-06-19 11:30:45 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-06-19 11:30:45 +0200 |
commit | a6b996f6a2ee55dff2c33bb9b8ef209b532c8bf3 (patch) | |
tree | 300f03176e9df813839c9186567b689a9f581f61 /src/lib/merchant_api_proposal.c | |
parent | 8ef1f72ca93cebceed0c4b99b59d8fd70ac38d01 (diff) | |
download | merchant-a6b996f6a2ee55dff2c33bb9b8ef209b532c8bf3.tar.gz merchant-a6b996f6a2ee55dff2c33bb9b8ef209b532c8bf3.tar.bz2 merchant-a6b996f6a2ee55dff2c33bb9b8ef209b532c8bf3.zip |
/refund lib, issuing the POST and defining cb skeleton
Diffstat (limited to 'src/lib/merchant_api_proposal.c')
-rw-r--r-- | src/lib/merchant_api_proposal.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/merchant_api_proposal.c b/src/lib/merchant_api_proposal.c index f8f1ab7e..d262fffc 100644 --- a/src/lib/merchant_api_proposal.c +++ b/src/lib/merchant_api_proposal.c @@ -103,11 +103,11 @@ struct TALER_MERCHANT_ProposalLookupOperation /** * Function called when we're done processing the - * HTTP PUT /proposal request. + * HTTP POST /proposal request. * * @param cls the `struct TALER_MERCHANT_ProposalOperation` * @param response_code HTTP response code, 0 on error - * @param json response body, NULL if not in JSON + * @param json response body, NULL if not JSON */ static void handle_proposal_finished (void *cls, @@ -239,7 +239,6 @@ TALER_MERCHANT_order_put (struct GNUNET_CURL_Context *ctx, curl_easy_setopt (eh, CURLOPT_URL, po->url)); - /* FIXME: as for the specs, POST becomes PUT */ GNUNET_assert (CURLE_OK == curl_easy_setopt (eh, CURLOPT_POSTFIELDS, |