cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to do http "DELETE" in libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 29 Jan 2016 10:02:34 +0100 (CET)

On Thu, 28 Jan 2016, cnm marketing wrote:

> The url portion uses curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST,
> "DELETE");
> And the boday portion uses curl_easy_setopt(curlHandle, CURLOPT_POSTFIELDS,
> frmdata);
>
> Will it work in libcurl?

I thought we already answered this several times: Yes it will.

Doesn't the docs answer this properly? What do your tests say?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2016-01-29