| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: HTTP DELETE - how to pass parameters
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 20 May 2009 10:10:45 +0200 (CEST)
On Tue, 19 May 2009, Erik Steffl wrote:
> I am using curl to send HTTP DELETE request and I would like to add some
You need to understand that -X only modifies the method keyword in a request,
> When I specify --get and -X DELETE it works as I want it to, not sure if
Why not just use it that way then?
> However I expected this command to work (no --get, just -XDELETE):
This won't work since "--data-urlencode" implies POST and you changing the
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-05-20 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info