cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Howto question - SOAP on the command line

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Wed, 6 Apr 2005 11:48:43 -0500

I believe that would translate to something like:

curl -u username:password --data-binary soap.xml -H 'Accept-Encoding:gzip'
      -o outputFile.gz http://webservice.foobar.com/theService

all on one line.

Ralph Mitchell

On Apr 6, 2005 11:23 AM, Dan White <ygor_at_comcast.net> wrote:
> I would like to use curl (on a command line/in a script) to do the
> equivalent of this wget command :
>
> wget --http-user='username' --http-passwd='password'
> --post-file='soap.xml' --header='Accept-Encoding:gzip'
> http://webservice.foobar.com/theService
> --output-document=outputFile.gz
>
> But I cannot figure it out from the documentation.
>
>
Received on 2005-04-06