cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: posting regular data file with --data

From: Chris Shah <chrs_shah_at_yahoo.com>
Date: Fri, 23 Mar 2007 21:53:31 -0700 (PDT)

You can try providing a SOAPAction Header as -H "SOAPAction:www.example.com". Let me know how it goes.
   
  Chris

"Ed S. Peschko" <esp5_at_pge.com> wrote:
  hey all,

I've been trying to do a regular post using the '--data' option to curl.
Since the data I'm posting is relatively large, and contains newlines, I'd
like to be able to use the '<' option, as in

curl --data '
but this does not work.. Is there a specific reason why -F 'name=works and why the above does not?

Thanks,

Ed

(ps - is there any specific trick to curl in order to make a SOAP call? I've tried:

curl --header 'Content-Type: text/xml' --data ''

without luck... is there something more to it than this? An example would be *very* helpful..
)

 
---------------------------------
No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
Received on 2007-03-24