Re: Posting HTTP Message via a file through --data-ascii
Date: Wed, 7 Jun 2006 23:05:05 -0500
According to the man page:
"If you start the data with the letter @, the rest should be a file name
to read the data from"
So, --data-ascii="@filename" ought to do it.
On 6/7/06, Nivedan Nadaraj <nnadaraj_at_erggroup.com> wrote:
> Hi all,
> I need to post a chunk of data i.e a HTTP message content across. Using
> --data-ascii I am able to do that by pasting the chunk of data.
> However if I needed to do the same by having the chunk of data in a text
> file, how would I be able to do that ?
> e.g --data-ascii="<xml-root><sometag>55</sometag></xmlroot>" // This
> e.g --data-ascii= ?? Can I specify a way to indicate where to pick the
> content from ?
> Any help appreciate
> Nivedan Nadaraj
Received on 2006-06-08