| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: Submitting form data breaks on various occasions
From: MK <kaeppler.matthias_at_nts.ricoh.co.jp>
Date: Tue, 25 Mar 2008 01:41:31 +0000 (UTC)
Daniel,
> > Because of this, I tried to store this markup in a file instead, and pass
aaah that did the job. thanks :-)
speaking of special shell characters and quoting strings and such, actually I
I want to pass data arguments to curl using a bash variable instead of supplying
DOCDATA='-F "title=Hello World!" -F "body=Content goes here."'
however, when I now invoke curl with that variable as an argument, like this:
then I will get curl errors:
Connection #0 to host localhost left intact
it seems that somehow the string gets broken up, but shouldn't enclosing it in
The odd thing is, when I echo $DOCDATA and copy the output to curl as a direct
> > Now I don't get this error anymore, but the temporary file cURL creates
yeah I just figured out it's not curl creating that file but the Apache Commons
okay , thanks Daniel!
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info