cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl-users Digest, Vol 56, Issue 1

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 2 Apr 2010 21:09:20 +0200 (CEST)

On Thu, 1 Apr 2010, Scott Taylor wrote:

Please don't top-post.

> I thought this would send the "mycsr.csr" file to the remote server for
> signing. So the two commands I was using to try this were:
> ====================
> # curl --cacert cert.pem --data CertRequest=mycsr.csr -d Mode=newreq -d
> TargetStoreFlags=0 -d SaveCert=yes --data-urlencode CertAttrib=\r\n
> https://ca.myserver.com/certsrv/certfnsh.asp

No, this doesn't send any file. See the man page for details on how -d
(which is the same option as --data) works.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
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-04-02