curl-users
HTTP POST of XML Document
From: Jack Wells <jwells_at_nichegroup.com>
Date: Sun, 25 Nov 2001 21:59:56 -0500
Received on 2001-11-26
Date: Sun, 25 Nov 2001 21:59:56 -0500
I'm trying to send an XML document using HTTP POST. Following line works
fine:
curl -d "<?xml version=1.0?>" https://www.domain.com/xml/program
How can I pass in a file containing the XML document for the '"-d" argument
instead of the literal?
Thanks,
Jack
---------------------------------------
Jack Wells
Niche Consulting Group, Inc.
Oracle Certified Solution Partner
jwells_at_nichegroup.com
+1.561.893.9300, ext. 102
+1.954.260.1452 cellular
---------------------------------------
- application/ms-tnef attachment: winmail.dat