cURL / Mailing Lists / curl-users / Single Mail

curl-users

Content-Type = text/xml

From: Steven R. Shourds <srs_at_perfectionsoftware.com>
Date: Thu, 11 Mar 2004 10:53:08 -0500

Here is my command. It is currently doing a POST, but with Content-Type: application/x-www-form-urlencoded. Can I change it to do Content-Type: text/xml?

curl -v --user USERNAME:PASSWORD --data @C:\TEMP\3MTEST.XML --insecure --output C:\TEMP\RESULT69.txt --max-time 20 --connect-timeout 20 --trace-ascii C:\TEMP\trace69.txt https://WHATEVERSITE.COM

Steve
www.perfectionsoftware.com
800-766-7530
Received on 2004-03-11