cURL / Mailing Lists / curl-users / Single Mail


Re: HTTP POST limitation

From: Thomas Hurst <>
Date: Wed, 28 Nov 2001 22:55:54 +0000

* David Burley ( wrote:

> There seems to be a limitation with the HTTP POST Request (-d
> flag). The request seems to truncate and send on another line when it
> hits a certain length (which is at less than 400 characters). Is this
> a real limitation under all platforms or only under Cygwin? Anyone
> have a workaround for this? I have a lot of data I need to post...

Most, if not all systems have limits on the length of arguments that can
be passed to a program. If you have a lot of data, put it in a temp
file and use -d @file rather than -d foo=bar.

Thomas 'Freaky' Hurst  -  -
Received on 2001-11-28