cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: newbie--problem with POST

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 1 Nov 2002 10:30:37 +0100 (MET)

On Thu, 31 Oct 2002, Jeff Alperin wrote:

> Hmm. Getting the same result, and it doesn't look like there are any
> cookies being set. I put the -v (verbose) option on and found the
> following in the output:

> > POST /center/search/index/ HTTP/1.1

> The page not found message says "The requested URL /center/search/index/
> was not found on this server."

> Has the first part of the url (i.e. https://center.atomz.com) gotten
> cut-off somehow? Maybe that's why it can't find the page?

Nope, the host name etc are not supposed to be there. The POST above is a
perfectly looking request.

You probably just pass a wrong URL to curl.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
Received on 2002-11-01