cURL / Mailing Lists / curl-users / Single Mail

curl-users

[ curl-Bugs-779247 ] a new option to specify a file containing POST request body

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Mon, 28 Jul 2003 16:57:29 -0700

Bugs item #779247, was opened at 2003-07-28 16:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=779247&group_id=976

Category: http
Group: new feature request
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: a new option to specify a file containing POST request body

Initial Comment:
First off, great work! Curl is an extremely handy utility.
We are currently using it to send HTTP SOAP POST
requests for testing purposes. The one frustrating part is
that these requests are often several a few lines long
and having to cram them into a command line argument,
escape all the quotes, etc.. is a pain. It would be
awesome if you could add a new command line option for
specifying a text file containing the body data for a
POST request. For example:

curl --data-file GetVendorRequest.txt -H Content-
type:text/xml -H SOAPAction:GetVendor
http://localhost:7001/axis/services/foo

Thanks for considering this feature!
Best regards,
Ian

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=779247&group_id=976

-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-07-29