curl-users
Posting HTTP Message via a file through --data-ascii
From: Nivedan Nadaraj <nnadaraj_at_erggroup.com>
Date: Thu, 8 Jun 2006 11:32:07 +0800
Date: Thu, 8 Jun 2006 11:32:07 +0800
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
works
e.g --data-ascii= ?? Can I specify a way to indicate where to pick the
content from ?
Any help appreciate
Thanks
Nivedan Nadaraj
Received on 2006-06-08