curl-users
Re: How to upload an soap request
Date: Mon, 20 Sep 2010 21:18:35 +0100
Poul,
I read what you are trying to do as a SOAP request with curl.
If I'm right, you are likely to need to add at least one header.
See:
http://cwebservices.blogspot.com/2008/01/curl-with-soap.html
Alex
--On 20 September 2010 22:01:45 +0200 Poul Erik Voetmann Nielsen
<poulerik_at_pet.auh.dk> wrote:
> 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.
>>
>
>
-- 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.htmlReceived on 2010-09-20