cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using http DELETE

From: Óscar Morales Vivó <oscarmv_at_aecsoftware.com>
Date: Mon, 20 Jun 2005 17:22:57 -0400

Thanks for the quick reply. I guess I failed to look in that
documentation :'(

Just to make sure, there's nothing to configure in a delete request
apart from the URL itself?

Again, thanks.

On Jun 20, 2005, at 17:08 , Daniel Stenberg wrote:

> On Mon, 20 Jun 2005, Óscar Morales Vivó wrote:
>
>
>> Is there any sample code around for using libcurl to send a DELETE
>> http command using the curl_easy interfaces? It seems one needs to
>> set some custom properties for that but I'm pretty stumped about
>> how to do it.
>>
>> Any help will be appreciated. Thanks in advance.
>>
>
> I don't think an example is required:
>
> http://curl.haxx.se/libcurl/c/
> curl_easy_setopt.html#CURLOPTCUSTOMREQUEST
>
> Like this:
>
> curl_easy_setopt(handle, CURLOPT_CUSTOMREQUEST, "DELETE");
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/
> curl.html

Óscar Morales Vivó
Software Developer
AEC Software, Inc.
22611-113 Markey court
Sterling VA 20166
Voice: 703-450-1980 | Fax: 703-450-9786
oscarmv_at_aecsoftware.com
Received on 2005-06-20