cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to upload an soap request

From: Alex Bligh <alex_at_alex.org.uk>
Date: Sun, 19 Sep 2010 19:04:26 +0100

--On 19 September 2010 15:08:01 +0200 Poul Erik Voetmann Nielsen

> I am new to curl and have a problem I can't find out
> I have made a script, se below
> In first line I call the server, the other lines is ment as input to curl
> Which option shall I put in first line, so curl wil transfer all the
> line to the server?

Go read up on the "-d" or "-F" options, using "@-" to specify stdin
as a file. You may have to tweak the way you've presented the data though,
e.g. specify headers with -H.

-- 
Alex Bligh
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-19