| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
HTTP DELETE - how to pass parameters
From: Erik Steffl <steffl_at_bigfoot.com>
Date: Tue, 19 May 2009 14:32:37 -0700
I am using curl to send HTTP DELETE request and I would like to add some
When I specify --get and -X DELETE it works as I want it to, not sure if
curl --globoff --get -XDELETE http://localhost/project/Resource
This turns into:
"DELETE /project/Resource?message=fitler url encoded
Which is exactly what I want.
However I expected this command to work (no --get, just -XDELETE):
curl --globoff -XDELETE http://localhost/project/Resource
However this sends (data in the body instead of in URI):
"DELETE /project/Resource HTTP/1.1\r\nUser-Agent: curl/7.18.2
Just curious how is this supposed to behave, as far as I can tell DELETE
erik
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info