cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: HTTPS POST with Reply

From: Kevin Carothers <kevindotcar_at_gmail.com>
Date: Fri, 15 Sep 2006 13:05:39 -0700

On 9/15/06, Dan Fandrich <dan_at_coneharvesters.com> wrote:
>
> On Fri, Sep 15, 2006 at 12:16:01PM -0700, Lamar, Dave wrote:
> > Now I am getting something.
> > Upon execution I get ==>
> > curl: (6) Couldn't resolve host 'userid=[blanked out]&password=[blanked
> > out]&command=requestnewpassword'
> >
> > In the log file there is a multitude of data, that is not comprehesible
> > to me, following that message.
> >
> > Making progress.
>
> That's more like it. If it can't even resolve the host, then you're not
> going
> to get any output. Try substituting the IP address of the host for the
> host
> name in the URL and see if you can get around what looks like DNS problems
> (or a typo). That method doesn't always work because of virtual hosts,
> but
> if it does it will get you closer.

Maybe it's inconsequential, but I usually put a "-k" before the host uri...
and it seems a little weird that Dave's command is trying to use the POST
data (-d stuff) as a host...

Just my 2

KC
Received on 2006-09-15