cURL / Mailing Lists / curl-library / Single Mail


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

From: Yves Arrouye <>
Date: Fri, 18 Jan 2013 09:50:02 -0800

> The @ construct lets you get POST data from a file

I understand that. I was hoping for a way to simply say "these data are
for PUT rather than POST" and being able to use the whole --data
machinery, but that's just me being biased with my needs for REST right
now :-) It doesn't really make sense otherwise. I can always have my
scripts write the PUT data into a temp file, or pipe both PUT and POST
data into curl.


Learn about GPT services and architectures on Confluence.

On 1/17/13 10:55 PM, "Dan Fandrich" <> wrote:

>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
>> 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
>reason to use -X for normal web traffic.
>>>> Dan
>List admin:

List admin:
Received on 2013-01-18