cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: cURL behavior on 303 does not seem to be what is documented/advertised?

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 18 Jan 2013 07:55:47 +0100

On Thu, Jan 17, 2013 at 03:07:25PM -0800, Yves Arrouye wrote:
> This requires file names, correct? Maybe that's why people using curl for
> REST services start with a -X PUT and then just go "-X <method>" for
> everything?

The @ construct lets you get POST data from a file. There's seldom a legitimate
reason to use -X for normal web traffic.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-01-18