cURL / Mailing Lists / curl-users / Single Mail


RE: HTTPS POST with Reply

From: Lamar, Dave <>
Date: Fri, 15 Sep 2006 13:36:10 -0700

Dan -

# /usr/local/bin/curl -d "userid=[blank out]&password=[blank
out]&command=requestnewpassword" https://XXXXXXX.XXXXX

According to the help, I see this as the right syntax.

When I first tried this, I failed to have a space between the last " and
https which gave an invalid url message.

Excuse my ignorance, but I'm willing to try any and all suggestions.



-----Original Message-----
[] On Behalf Of Dan Fandrich
Sent: Friday, September 15, 2006 1:23 PM
To: the curl tool
Subject: Re: HTTPS POST with Reply

On Fri, Sep 15, 2006 at 01:10:15PM -0700, Lamar, Dave wrote:
> Dan -
> Nope. The ip comes back with -
> curl: (6) Couldn't resolve host
> 'userid=fcxlt179&password=Go2E1in4u&command=requestnewpassword'
> curl: (51) SSL: certificate subject name '' does
> not match target host name ''

Kevin was more observant than I was--curl is trying to resolve your POST
string as the host, which means there's something wrong with your curl
command line. What is the exact curl command-line you're using?

>>> Dan

--              The web change of address
          Let webmasters know that your web site has moved
Received on 2006-09-15