Hello Daniel,
I managed to make it work thanks to your hints.

Thanks for your help.

Best regards,
Nicolas.

-----Message d'origine-----
De : curl-library [mailto:[email protected]] De la part de 
Daniel Stenberg
Envoyé : jeudi 1 novembre 2012 13:07
À : libcurl development
Objet : Re: Sending a body with a DELETE request

On Thu, 1 Nov 2012, Nicolas Heynen wrote:

> DELETE requests sent with libcurl does not seem to embed a body.

Then you're not doing it right.

I suggest you simply set the body with CURLOPT_POSTFIELDS and set 
CURLOPT_CUSTOMREQUEST to "DELETE". Done.

-- 

  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to