cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Http Delete request return 400

From: Michael Wood <esiotrot_at_gmail.com>
Date: Wed, 7 Nov 2012 09:13:44 +0200

On 7 November 2012 08:59, huancong deng <denghuancong_at_gmail.com> wrote:
>
> 82 curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
> 83 curl_easy_setopt(curl,CURLOPT_CUSTOMREQUEST,"delete");

Use "DELETE" and not "delete".

--
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-11-07