cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to upload an soap request

From: Poul Erik Voetmann Nielsen <poulerik_at_pet.auh.dk>
Date: Mon, 20 Sep 2010 22:01:45 +0200

  Hi Alex

Thanks for your reply
But I do not think I can find what I seek
I want to curl just to read a file
and send the content to the server. Curl should not send any header
information
Everything is in the file
Is it possible? and how would the syntax be?

Regards

Poul Erik Nielsen

Den 19-09-2010 20:04, Alex Bligh skrev:
> --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.
>

-------------------------------------------------------------------
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-20